Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit 8e43fde

Browse files
committed
Adding TVE to Ex 13. Rename ex 12 and add ex 12 for I2C.
1 parent ae6b284 commit 8e43fde

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

Diff for: examples/Example12_FactoryDefault2/Example12_FactoryDefault2.ino renamed to examples/Example12_FactoryDefault_I2C/Example12_FactoryDefault_I2C.ino

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
Test baud rate changes on serial, factory reset, and hard reset.
3-
By: Thorsten von Eicken
2+
Send command to reset module over I2C
3+
By: Nathan Seidle
44
Date: January 29rd, 2019
55
License: MIT. See license file for more information but you can
66
basically do whatever you want with this code.
77
8-
This example shows how to reset the U-Blox module to factory defaults.
8+
This example shows how to reset the U-Blox module to factory defaults over I2C.
99
1010
Feel like supporting open source hardware?
1111
Buy a board from SparkFun!
@@ -22,8 +22,6 @@
2222
#include <SparkFun_Ublox_Arduino_Library.h> //http://librarymanager/All#SparkFun_Ublox_GPS
2323
SFE_UBLOX_GPS myGPS;
2424

25-
int state = 0; // steps through auto-baud, reset, etc states
26-
2725
void setup()
2826
{
2927
Serial.begin(115200);
@@ -42,7 +40,7 @@ void setup()
4240
Serial.println("Press a key to reset module to factory defaults");
4341
while (Serial.available() == false) ; //Wait for user to send character
4442

45-
myGPS.factoryReset();
43+
myGPS.factoryReset(); //Reset everything: baud rate, I2C address, update rate, everything.
4644

4745
if (myGPS.begin() == false) //Attempt to re-connect
4846
{

Diff for: examples/Example12_FactoryDefaults/Example12_FactoryDefaults.ino renamed to examples/Example12_FactoryDefaults_Serial/Example12_FactoryDefaults_Serial.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
License: MIT. See license file for more information but you can
66
basically do whatever you want with this code.
77
8-
This example shows how to reset the U-Blox module to factory defaults.
8+
This example shows how to reset the U-Blox module to factory defaults over serial.
99
1010
Feel like supporting open source hardware?
1111
Buy a board from SparkFun!

Diff for: examples/Example13_AutoPVT/Example13_AutoPVT.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
Configuring the GPS to automatically send position reports over I2C
3-
By: Nathan Seidle
3+
By: Nathan Seidle and Thorsten von Eicken
44
SparkFun Electronics
55
Date: January 3rd, 2019
66
License: MIT. See license file for more information but you can

0 commit comments

Comments
 (0)