Hi, can anyone point me to the right direction on how to capture data(codes from previous post) from HSERIN 100,error,[SerialData] to variable DataRec? I did some variations just to make it display on the LCD, it seems I can not. I appreciate any help(it's drving me nuts
).
Code:
Getbytes:
'###########################################
cnt=0
While RCIF = 1 ' clear the buffer
HSERIN 10,error,[Serialdata] ' take it
DataRec[cnt]=SerialData[cnt]
HSEROUT [DataRec[cnt]] ' take out
cnt=cnt+1
Wend
LCdout $fe, $c0, DataRec
Toggle led2 'led to confirm program went to RX ISR
flag1 = 1
Thanks in advance,
tacbanon
Bookmarks