Hello, I have some trouble breaking some inputs that are coming from the serial port. For example i have the following output send by the serial port: "$GPRMC,211623.00,A,4426.80227,N,02603.03632,E,0.503,,280619,,,A*7F $GPVTG,,T,,M,0.503,N,0.931,K,A*2E $GPGGA,211623.00,4426.80227,N,02603.03632,E,1,06,1.38,100.2,M,34.9,M,,*50" I would like to get the coordinates from the GPS that are on the GPGGA row. Any help would be much obliged.
Take a look at the strtok() function or perhaps a GPS library that already breaks out the coordinates
GoOGlE has a special section dedicated to exactly this problem.