Hi there,
I have a 4x20 LCD Seetron BPP420 with a 628A. It won't work for me. I am sure it's a code problem.
I don't just want to cut and paste code but I really need a working example of the classic hello world on a 4x20 and/or a 2x20.
Where is all this basic information? The PBP manual is terse and cryptic.
Here are all the things I tried:
DEFINE OSC 20
include "modedefs.bas"
cmcon = 7
trisa = %00000000
trisb = %00000000
porta = $00
portb = $00
main:
pause 1000 ' wait for the LCD to startup
serout PortB.2,4,[$FE,$01] ' clear the screen
serout PortB.2,4,["Hello World"] ' send string
pause 1000 ' pause for a second
SEROUT2 PORTB.2,84,["the world frustrates me"]
serout portb.0, n9600, ["Mike, Just ask for help!"]
'Just make sure the chip is running:
high portb.3
pause 100
low portb.3
pause 100
goto main ' loop
Bookmarks