Just worked out how it needs to be done.
For 16F877A, need to add this code on top:
ADCON1=%00000111
DEFINE LCD_DREG PORTD
DEFINE LCD_DBIT 4
DEFINE LCD_RSREG PORTA
DEFINE LCD_RSBIT 1
DEFINE LCD_EREG PORTA
DEFINE LCD_EBIT 3
DEFINE LCD_BITS 4
DEFINE LCD_LINES 2
LOW PORTA.2
Then just use LCDOUT and it will work.
BR
Bookmarks