This repository was archived by the owner on Jan 28, 2021. It is now read-only.
File tree 4 files changed +24
-7
lines changed
ZED-F9P/Example4_GetPositionAccuracy
4 files changed +24
-7
lines changed Original file line number Diff line number Diff line change 11
11
These commands are only accepted by the NEO-M8P module.
12
12
13
13
Feel like supporting open source hardware?
14
- Buy a board from SparkFun! https://www.sparkfun.com/products/14980
14
+ Buy a board from SparkFun!
15
+ ZED-F9P RTK2: https://www.sparkfun.com/products/15136
16
+ NEO-M8P RTK: https://www.sparkfun.com/products/15005
17
+ SAM-M8Q: https://www.sparkfun.com/products/15106
15
18
16
19
Hardware Connections:
17
20
Plug a Qwiic cable into the GPS and a BlackBoard
@@ -30,6 +33,8 @@ void setup()
30
33
while (!Serial); // Wait for user to open terminal
31
34
Serial.println (" Ublox RTCM Enable Example" );
32
35
36
+ Wire.begin ();
37
+
33
38
myGPS.begin (Wire); // Connect to the Ublox module using Wire port
34
39
if (myGPS.isConnected () == false )
35
40
{
Original file line number Diff line number Diff line change 13
13
Begin outputting RTCM bytes
14
14
15
15
Feel like supporting open source hardware?
16
- Buy a board from SparkFun! https://www.sparkfun.com/products/14980
16
+ Buy a board from SparkFun!
17
+ ZED-F9P RTK2: https://www.sparkfun.com/products/15136
18
+ NEO-M8P RTK: https://www.sparkfun.com/products/15005
19
+ SAM-M8Q: https://www.sparkfun.com/products/15106
17
20
18
21
Hardware Connections:
19
22
Plug a Qwiic cable into the GPS and a BlackBoard
@@ -32,6 +35,8 @@ void setup()
32
35
while (!Serial); // Wait for user to open terminal
33
36
Serial.println (" Ublox NEO-M8P-2 base station example" );
34
37
38
+ Wire.begin ();
39
+
35
40
myGPS.begin (Wire); // Connect to the Ublox module using Wire port
36
41
if (myGPS.isConnected () == false )
37
42
{
@@ -145,4 +150,3 @@ void SFE_UBLOX_GPS::processRTCM(uint8_t incoming)
145
150
if (incoming < 0x10 ) Serial.print (" 0" );
146
151
Serial.print (incoming, HEX);
147
152
}
148
-
Original file line number Diff line number Diff line change 13
13
Begin outputting RTCM bytes
14
14
15
15
Feel like supporting open source hardware?
16
- Buy a board from SparkFun! https://www.sparkfun.com/products/14980
16
+ Buy a board from SparkFun!
17
+ ZED-F9P RTK2: https://www.sparkfun.com/products/15136
18
+ NEO-M8P RTK: https://www.sparkfun.com/products/15005
19
+ SAM-M8Q: https://www.sparkfun.com/products/15106
17
20
18
21
Hardware Connections:
19
22
Plug a Qwiic cable into the GPS and a BlackBoard
@@ -38,6 +41,8 @@ void setup()
38
41
while (!Serial); // Wait for user to open terminal
39
42
Serial.println (" Ublox GPS I2C Test" );
40
43
44
+ Wire.begin ();
45
+
41
46
pinMode (STAT_LED, OUTPUT);
42
47
digitalWrite (STAT_LED, LOW);
43
48
@@ -178,4 +183,3 @@ void SFE_UBLOX_GPS::processRTCM(uint8_t incoming)
178
183
if (incoming < 0x10 ) Serial.print (" 0" );
179
184
Serial.print (incoming, HEX);
180
185
}
181
-
Original file line number Diff line number Diff line change 13
13
Begin outputting RTCM bytes
14
14
15
15
Feel like supporting open source hardware?
16
- Buy a board from SparkFun! https://www.sparkfun.com/products/14980
16
+ Buy a board from SparkFun!
17
+ ZED-F9P RTK2: https://www.sparkfun.com/products/15136
18
+ NEO-M8P RTK: https://www.sparkfun.com/products/15005
19
+ SAM-M8Q: https://www.sparkfun.com/products/15106
17
20
18
21
Hardware Connections:
19
22
Plug a Qwiic cable into the GPS and a BlackBoard
@@ -34,6 +37,8 @@ void setup()
34
37
while (!Serial); // Wait for user to open terminal
35
38
Serial.println (" Ublox high precision accuracy example" );
36
39
40
+ Wire.begin ();
41
+
37
42
myGPS.begin (); // Connect to the Ublox module using Wire port
38
43
if (myGPS.isConnected () == false )
39
44
{
@@ -42,7 +47,6 @@ void setup()
42
47
}
43
48
44
49
Wire.setClock (400000 ); // Increase I2C clock speed to 400kHz
45
-
46
50
}
47
51
48
52
void loop ()
You can’t perform that action at this time.
0 commit comments