LCD_RS and LCD_E should be declared in your program, along with the other LCD pins.
Something like ...Code:;----[ Change these to match your LCD ]--------------------------------------- LCD_DB4 VAR PORTA.0 LCD_DB5 VAR PORTB.3 LCD_DB6 VAR PORTB.7 LCD_DB7 VAR PORTC.1 LCD_RS VAR PORTD.4 LCD_E VAR PORTA.1 LCD_Lines CON 2 ' # of Lines on LCD, 1 or 2 (Note: use 2 for 4 lines) LCD_DATAUS CON 50 ' Data delay time in us LCD_COMMANDUS CON 2000 ' Command delay time in us INCLUDE "LCD_AnyPin.pbp" ; *** Include MUST be AFTER LCD Pin assignments ****




Bookmarks