![](/media/cache/profiles/a7bf3f5462cc82062e41b3a2262e1a21.50x50_q85.jpg)
Yet another I2C Text based LCD display program
Diff: main.cpp
- Revision:
- 2:91dec3d7903a
- Parent:
- 1:d8767e2b8e7e
diff -r d8767e2b8e7e -r 91dec3d7903a main.cpp --- a/main.cpp Wed Mar 09 07:05:29 2011 +0000 +++ b/main.cpp Sun Jan 19 14:23:58 2014 +0000 @@ -49,7 +49,10 @@ _WriteLCD(Delete, 1, 3, 4); _WriteLCD(SetCursor, 0x45); _WriteLCD(CharToLCD, 0x01); + _WriteLCD(SetCursor, 0x14); _WriteLCD(CharToLCD, 0x02); + _WriteLCD(SetCursor, 0x54); + _WriteLCD(CharToLCD, 0x30); _WriteLCD(Shift, 0, 0); // log to usb serial port, visible by Tera Term printf("Character ->%c<- at position %d, ram = %x\r\n", _ReadLCD(GetCharAtCur), _ReadLCD(GetCursorAdr), _ReadLCD(ReadRam));