Arduino Serial Communication, Bytes, Bases, and ASCII Characters
Understanding data types is especially important if you wish to use serial communication to send data to your Arduino and have the ATmega328 act on this data. Serial data is read from the serial buffer using a sequence of commands like this. if (Serial.available()>0) { // there are bytes in the serial buffer to read