// read the oldest byte in the serial buffer: if(Serial.available()) { incomingByte = Serial.read(); }