I am trying out an experiment where one pic16f84 sends out serial data, whilst another receives the data on an LCD. I can only get the LCD to display a 0 for the received data with my code. Any suggestions?
transmitter
INCLUDE "modedefs.bas"
pause 1500
START
SEROUT PORTB.4,N2400,["1234"]
PAUSE 50
GOTO START
receiver
INCLUDE "modedefs.bas"
pause 500
START
M VAR BYTE
SERIN PORTB.5,N2400,[M]
lcdout $FE,1,#M
LCDOUT $FE,$C0,"HELLO"
PAUSE 300
GOTO START
Bookmarks