char testGpsString[] = "$GPRMC,133809.00,A,5323.12995,N,00615.36410,W,1.015,,190815,,,A*60\n$GPVTG,,T,,M,1.015,N,1.879,K,A*21\n$GPGGA,133809.00,5323.12995,N,00615.36410,W,1,08,1.21,80.2,M,52.9,M,,*73\n$GPGSA,A,3,21,16,18,19,26,22,07,27,,,,,2.72,1.21,2.44*06\n$GPGSV,4,1,14,04,07,227,17,07,24,306,16,08,33,278,09,13,05,018,*7A\n$GPGSV,4,2,14,15,04,048,08,16,61,174,25,18,39,096,31,19,35,275,21*78\n$GPGSV,4,3,14,20,12,034,08,21,36,061,23,22,29,142,21,26,32,159,12*71\n$GPGSV,4,4,14,27,75,286,26,30,10,334,*75\n$GPGLL,5323.12995,N,00615.36410,W,133809.00,A,A*78\n"; unsigned int str_len = strlen(testGpsString); unsigned int str_index = 0; void setup() { Serial.begin(9600); } void loop() { if(str_index < str_len){ Serial.write(testGpsString[str_index]); str_index++; delay(1); } }