Im having lots of problems getting my serial lcd to work properly. the screen is a matrix orbital lcd4021 set to 2400baud (i think) and im using a 16f628 as a controller.. i have just started to learn this stuff, and i dont know that much about it. i have been learning by just looking at examples on the net and reading this site. i have attached the code below. if anyone can help, it would be greatly apreciated.
@ device INTRC_OSC_NOCLKOUT
cmcon = 7
TRISA = %00000000
TRISB = %00001000
lcd VAR PORTA.3
baud CON 2400
Pause 4000
start:
SerOut2 lcd, baud,["hello world"]
Pause 1000
GoTo start
End
thanks; dan
Bookmarks