add antenna request line
This commit is contained in:
parent
ad5e4caef8
commit
19ad73197e
|
|
@ -77,6 +77,9 @@ void setup()
|
|||
// 10 Hz update rate - for 9600 baud you'll have to set the output to RMC only (see above)
|
||||
//GPS.sendCommand(PMTK_SET_NMEA_UPDATE_10HZ);
|
||||
|
||||
// Request updates on antenna status, comment out to keep quiet
|
||||
GPS.sendCommand(PGCMD_ANTENNA);
|
||||
|
||||
// the nice thing about this code is you can have a timer0 interrupt go off
|
||||
// every 1 millisecond, and read data from the GPS for you. that makes the
|
||||
// loop code a heck of a lot easier!
|
||||
|
|
|
|||
|
|
@ -42,6 +42,9 @@ void setup()
|
|||
// For the parsing code to work nicely and have time to sort thru the data, and
|
||||
// print it out we don't suggest using anything higher than 1 Hz
|
||||
|
||||
// Request updates on antenna status, comment out to keep quiet
|
||||
GPS.sendCommand(PGCMD_ANTENNA);
|
||||
|
||||
delay(1000);
|
||||
// Ask for firmware version
|
||||
Serial1.println(PMTK_Q_RELEASE);
|
||||
|
|
|
|||
|
|
@ -63,6 +63,9 @@ void setup()
|
|||
// For the parsing code to work nicely and have time to sort thru the data, and
|
||||
// print it out we don't suggest using anything higher than 1 Hz
|
||||
|
||||
// Request updates on antenna status, comment out to keep quiet
|
||||
GPS.sendCommand(PGCMD_ANTENNA);
|
||||
|
||||
delay(1000);
|
||||
// Ask for firmware version
|
||||
mySerial.println(PMTK_Q_RELEASE);
|
||||
|
|
|
|||
|
|
@ -75,6 +75,9 @@ void setup()
|
|||
// For the parsing code to work nicely and have time to sort thru the data, and
|
||||
// print it out we don't suggest using anything higher than 1 Hz
|
||||
|
||||
// Request updates on antenna status, comment out to keep quiet
|
||||
GPS.sendCommand(PGCMD_ANTENNA);
|
||||
|
||||
// the nice thing about this code is you can have a timer0 interrupt go off
|
||||
// every 1 millisecond, and read data from the GPS for you. that makes the
|
||||
// loop code a heck of a lot easier!
|
||||
|
|
|
|||
Loading…
Reference in New Issue