The display's datasheet makes me connect the lines D4 to DB3, D5 to DB2, D6 to DB1 and D7 to DB0 (see attachment "DB-Lines_connections.jpg"). This is why I thought the starting bit would be the fourth.
I changed:
and added:Code:DEFINE LCD_DREG PORTA 'LCD data port DEFINE LCD_DBIT 0 'LCD data starting bit 0 or 4
I went through the PIC's datasheet and couldn't find other settings that could affect the A ports. Still, the display looks just dead.Code:ADCON0.0 = 0 'Disable Converter Module
I have two of them and react the same. I changed for my second 16F88 and the result is same too.




Bookmarks