The serial input basics tutorial has information on reading serial data, that has start and end markers, into a null terminated character array.
The serial input basics tutorial has information on reading serial data, that has start and end markers, into a null terminated character array.