Hi all
I'm totally new to this
please help/explain to me how to brake up this incoming string from serial
$GPGGA,202822.600,5307.0948,N,01636.4651,E,1,6,1.93,-0.3,M,40.8,M,,*7C
Hi all
I'm totally new to this
please help/explain to me how to brake up this incoming string from serial
$GPGGA,202822.600,5307.0948,N,01636.4651,E,1,6,1.93,-0.3,M,40.8,M,,*7C
will it work with SoftwareSerial ? I'm not using NewSoftwareSerial.
Cheers
I'm pretty sure it will but newsoftserial is better so you might as well change it to that.
Mowcius
yes but it seems that my gps is locked to 38400 and what i have read is that it wont work
say that i wanted to extract then info how do i do it without TinyGPS ?
The strtok function can be used to extract tokens, delimited by some character. In your string all the pieces are separated by commas, which makes strtok ideal.
yes but it seems that my gps is locked to 38400 and what i have read is that it wont work
where have you read this? NSS should work with your 38400 GPS.
say that i wanted to extract then info how do i do it without TinyGPS ?
If you want to see a good example of how to parse gps data, have a look at the source code to TinyGPS