While not using blocking methods keeps the line "open", collecting everything in character arrays and casting them to other types seems more taxing on the Arduino
This is an usefull and important discussion.
One thing which which confused me when beginning Arduino, was Serial.print(78, HEX) BIN, OCT and so on. The data which goes via serial is bytes and it is programmers job to interprete those bytes. C is confusing enough itself.
To Robin2:The Serial.print and Serial. write are confusing, because it is not clear what is actually sent.
Now I just have to work out how to get Excel to read and write to the comm port effortlessly (using default Win7 tools). Wish me luck.
Now I just have to work out how to get Excel to read and write to the comm port effortlessly (using default Win7 tools).
Does the Serial.Available function works fine with Uno board.Because example said it Only works with Arduino Mega
SyntaxSerial.available()Arduino Mega only:Serial1.available()Serial2.available()Serial3.available()