Arduino serial commands reference
Arduino serial input basics
How to avoid using delay() in Arduino - JuanAntonio, docs.arduino.cc