From the PBP manual.
It looks like you are using the sample program in PBP. Make sure you have it wired just like the manual said and Jerson's code should work.PBP assumes the LCD is connected to specific pins unless told
otherwise using DEFINEs. It assumes the LCD will be used with a 4-bit
bus with data lines DB4 - DB7 connected to PICmicro MCU PORTA.0 -
PORTA.3, Register Select to PORTA.4 and Enable to PORTB.3.
It is also preset to initialize the LCD to a 2 line display.
To change this setup, place one or more of the following DEFINEs, all in
upper-case, at the top of your PicBasic Pro program:
If you are still having trouble with line two and line one is working, try using the DEFINES. There is a DEFINE for line two. Just add the DEFINEs to match the way you have it wired.
Bookmarks