Hi Jack,
Just like the RTC constants, you can set them for the displays:
I CON 254 'Control byte
Clr CON 1 'Clear the display
Line1 CON 128 'Point to start of Line 1
Line2 CON 192 'Point to start of Line 2
Line3 CON 148 'Point to start of Line 3
Line4 CON 212 'Point to start of Line 4
Example:
LCDOut I,Clr
LCDOut I,Line1,"Breckenridge Village"
LCDOut I,Line3+2, hex2 mon, "/", hex2 date, "/", hex2 yr, " ", HEX2 hr, ":", HEX2 MINs
Notice the "Line3+2" This says to move the cursor in 2 spaces
By the way, the project that this code example came from uses a Noritake VFD display. Nice and bright-you can miss it! It does draw power though, about 250ma if I remember properly.
HTH,
BobK
Bookmarks