while(mySerial.read() != -1)
Isn't this a bit dangerous?
You are reading data and then discarding it. That is it is valid data that is just being thrown away, so won't that screw up the tag number?
while(mySerial.read() != -1)
Isn't this a bit dangerous?
You are reading data and then discarding it. That is it is valid data that is just being thrown away, so won't that screw up the tag number?