LCDInfo.com

http://www.lcdinfo.com
It is currently Mon Jun 26, 2017 5:26

All times are UTC + 2 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Help for editing screens
PostPosted: Thu Nov 14, 2002 20:15 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
Here I'm going to explain what all the settings in the ini files mean and how you can edit them.

LCDInfo doesn't have any fancy graphical screen editor yet so you have to edit the configuration files by hand at the moment. You can use Notepad or your favorite text editor to modify them.

Beginning from LCDInfo version 0.3 the screen configuration files can be found from LCDInfo\screens\ directory. The example files are named like 128x64_ks0108.ini, 240x128_t6963c.ini, 240x64_t6963c.ini, etc. Filenames aren't fixed in any way and you can rename them and make your own ones. Setting file currently used can be changed in the Screens section of LCDInfo_Config program.

From the top of the file you can find a section called [Info]. It has a setting called Description where you can give some information of your design.

This section is optional and not all configs have it.
Quote:
[Info]
Description=Screen config for 240x64 T6963C display



Next in the file are sections for each screen [Screen0], [Screen1], etc. Maximum number of screens is 10 currently but it has been raised to 20 in the latest development versions. Every screen has a setting Enable which determines if the screen is shown (0 - off / 1 - on).
Interval setting defines how long the screen is shown (ms). 1000 = 1 second. Bitmap is the background picture.

After that are the Icon settings.
Image icon:
Icon0=images\cpu9x7.bmp(174,49)
Icon0=path\filename.bmp(x position,y position)
Predefined changing icon:
Icon0=winampstatus(10,36)
Icon0=iconname(x position,y position)
Currently winampstatus and winampchannels are available.
Maximum number of icons is 15 per screen.

Text shown on the display is configured with the Line0, Line1,... lines. Text can be freely written to these lines and variables with dollar signs as delimiters can be put between text. For example $mbmtemp(1)$ is Motherboard Monitor's sensor number 1.

List of variables available can be found from this page:
http://www.skippari.net/lcd/lcdinfo_features.html

Quote:
[Screen0]
Enable=1
Interval=5000
Bitmap=screens\240x64_t6963c_images\image1.bmp
Icon0=images\cpu9x7.bmp(174,49)
Icon1=images\sys9x7.bmp(174,40)
Icon2=
Icon3=
Line0=
Line1=" : $mbmtemp(1)$ c"
Line2=" : $mbmtemp(2)$ c"
Line3=
Line4=
Line5=" : $mbmvolt(0)$V +12V : $mbmvolt(4)$V"
Line6=" : $mbmvolt(2)$V + 5V : $mbmvolt(3)$V"
Line7=



There are still more settings but this should get you started. Let me know if this is helpful and I can write something about rest of the settings too. Some feedback of what settings I should describe would be nice. Also I can try to describe some settings above more carefully if needed.


Top
 Profile  
 
 Post subject: LCDInfo 0.3.2
PostPosted: Tue Dec 10, 2002 17:53 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
One big new feature since version 0.3.1 is the support for truetype fonts. You can use any font available in your system. Fonts can be used for your own text or variables.

Fonts are defined in the beginning of the screen ini and 5 different fonts can be used.

Example:
Quote:
[Font0]
Name=Arial
Size=10
CutTop=
CutLeft=
Invert=1

Name should be pretty self explaining, it's the name of the font.
Size is the font size.
CutTop can be used to cut some pixels from the top of the font area as many fonts have unnecessary empty space in them.
CutLeft same as above to cut empty space in front of the font.
Invert can be used to invert the background and font colors - white font on black blackround. This is useful to see how much the font has empty space that can be cut with CutTop and CutLeft.

How to use the defined fonts

Syntax:
Quote:
Graphic0=text(10,23,1,$time$)
Graphic1=text(10,23,1,"Free text")

Graphic2=text(x position, y position, font number, $variable$ or "any text")


Icon support for KS0108 should now also work. Y position for fonts and icons should be 0, 7, 15, 23, 31, 39, 47 or 55 when using KS0108 controller or else there may be some strange results.

POP3 accounts

-Support for 5 pop3 accounts
-Syntax is $mailcount(0)$, $mailcount(1)$, ...
-Settings like server, username and password are set in lcdinfo.ini

IP numbers

External ip:
-variable $extip$
-Using this page to get the ip: http://whatismyip.com
-Some configuration options in lcdinfo.ini
-Disabled by default

Local ip:
-variable changed from $omaip$ to $localip$

Winamp

Winamp2
-Track number stripped from Winamp trackname
-Current track number and total playlist tracks for Winamp $winamptracknum$ $winamptracktotal$
-Thanks for these goes to Langley Rock as without him these wouldn't probably be implemented yet

Winamp3
-text file reading support can be used to gather winamp3 info
-instructions are here: http://www.skippari.net/phpBB2/viewtopic.php?p=346#346

Updated list of variables should be coming here


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group