Hi there,
I am currently trying to read data from a serial port and in turn perform some simple operations on the data to test if it is the signal i expect, then store the value.
When trying to verify my project I get this error message from this line of code;
char inByte = RFIDPort.read();
if (inByte.length() >= 5){
RFID = inByte;
RFIDPort.end();
error: request for member 'length' in '(variable I am trying to read from serial port)', Which is of non-class type 'char' <-- the type I have declared the variable to be.
I am new to serial communication so I am wondering if I have done something fundamentally wrong.
Thanks in Advance