Reads a byte (a character) from the serial port.
None
The next byte from the serial port, or -1 if there aren't any.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.