Steve,
I checked the baud rate and the jumpers on the LCD Module are set for True 1200. If I perform a self-test on the unit, it comes on and display on the first line “Self Test Mode” and on the second line “Baud Rate: T1200”. Here’s the code for the program. Thanks for your help.
'PICBasic Pro Program 6.2 --LCD Test --
Pause 1000 'Wait 1 second for LCD to initialize
start:
Serout Portb.1, 1, [254,1] 'Clear screen
Pause 40
Serout Portb.1, 1, ["Hello World"] 'Print Message
Pause 400
GoTo start
End
Hardware:
EPIC Plus Pocket PIC Programmer w/ AC Adapter
PIC 16F84A-20/P
LCD-02 Serial LCD model w/ backlight
4 Mhz crystal
Bookmarks