Still fighting this thing. I've changed it serout2 and serin2 with a synch character but still no luck. It will work with lots of noise with the wait & synch character removed.
I'm pretty sure the problem is on the recieving end.
HELP!!
Transmitting pic
Code:
MAIN:
serout2 PORTB.5,16780,[junk,synch,$FE,$1] 'Clear screen and home
serout2 PORTB.5,16780,[junk,synch,$FE,$0F] 'Display on, cursor on
serout2 PORTB.5,16780,[junk,synch,$FE,$80,"LCD Line 1"]
serout2 PORTB.5,16780,[junk,synch,$FE,$C0,"LCD Line 2"]
serout2 PORTB.5,16780,[junk,synch,$FE,$94,"LCD Line 3"]
serout2 PORTB.5,16780,[junk,synch,$FE,$D4,"LCD Line 4"]
for K=1 to 2 'Delay in seconds 65534 max
pause 1000 '1 second delay
next k
GOTO MAIN
end
Recieving pic
Code:
MAIN:
Serin2 rcv,mode,[WAIT("A"),char] ' Get a char from serial input
Lcdout char ' Send char to display
Goto MAIN
End
Bookmarks