viewtopic.php?p=735631&hilit=gps+command#p735631
Unfortunately, it seems the link to the github example there no longer works. I wrote this small script that simply sends the command to the GPS:
Code: Select all
void setup() {
delay(3000);
const char* cmd = "PMTK314,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29";
Serial.begin(9600);
Serial.write(cmd);
Serial.end();
}
void loop() {
}
-adding and removing "\r\n" at the end of the command string
-different checksums: the forum post linked says 29, I calculated 41. No observed change using either, though
-swapping Tx and Rx on the Uno side
-using Serial.write and Serial.print
Not sure what else to try- any suggestions are welcome. Thank you!