This code works great but how can I send the value 23? If I try it assumes each character is a byte when they are not.Code:main:
if RCIF = 1 then ' If RCIF=1 there's a new character in RCREG
BytesIn[ByteCnt] = RCREG ' Yes. Then store it in array
if BytesIn[ByteCnt] = eom then OutMsg
ByteCnt = ByteCnt + 1 ' Increment array index pointer
endif
goto Main