Serial.read Data to An Array

The serial input basics tutorial shows how to receive serial data into a null terminated character array (string) and parse the data.