Optrex LCD support

This commit is contained in:
bsongis
2012-04-07 07:35:23 +00:00
parent 5d5bfec63d
commit 54c1ed1997
5 changed files with 25 additions and 4 deletions
+1 -1
View File
@@ -791,7 +791,7 @@ void refreshDisplay()
pioptr->PIO_OER = 0x0C00B0FFL; // Set bits 27,26,15,13,12,7-0 output
#endif
for (y = 0; y < 8; y++) {
lcdSendCtl(/*TODO g_eeGeneral.optrexDisplay ? 0 : */0x04);
lcdSendCtl(g_eeGeneral.optrexDisplay ? 0 : 0x04);
lcdSendCtl(0x10); //column addr 0
lcdSendCtl(y | 0xB0); //page addr y