last year i was making a serial device using pic basic pro and this year i wanna update it but im running into some issues.
i have a program that out puts strings of hex like so "FF 00 00 00 00 FF FF 00 00 00 00 FF" each hex is a channel from 1-12
i want the device to be able to read this.
i dont have a programmer anymore so iv been trying to use pic simulator IDE.
my question is.
SerialBuffer var BYTE
SERIN2 rs232_in, 84 [wait(SerialBuffer)]
if Serialbuffer = 255 then
would that work for grabbing that whole string and storing it? is that also the right way to read them in an if statement?