From cf8b635c56e5b633d8bf74114f3977654a8301b7 Mon Sep 17 00:00:00 2001 From: ckgt Date: Thu, 23 Apr 2015 19:47:10 -0400 Subject: Initial Commit --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4369c41..4a8b700 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,7 @@ This is all you need to use the GPS NMEA sentence data. - Standard: ```` - GPGGA, - GPGSA, - GPGSV, - GPRMC, - GPVTG + GPGGA, GPGSA, GPGSV, GPRMC, GPVTG ```` * **NMEA Generation** of "standard" and custom sentences. @@ -89,9 +85,10 @@ The handler for "MYNMEA" is called. This is where you can catch the sentence and // bad checksum, but valid syntax } if( nmea.parameters.size() < 3 ){ - // missing data, throw something + // missing data, throw something. + // catch it at the read*() call. } - int mydata = parseInt(nmea.parameters[3]); + int mydata = parseInt(nmea.parameters[2]); }; -- cgit v1.2.3