File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
examples/Example30_NEO-D9S Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 21
21
#include < SparkFun_u-blox_GNSS_Arduino_Library.h> // http://librarymanager/All#SparkFun_u-blox_GNSS
22
22
SFE_UBLOX_GNSS myLBand; // NEO-D9S
23
23
24
- // const uint32_t myLBandFreq = 1556290000; // Uncomment this line to use the US SPARTN 1.8 service
25
- const uint32_t myLBandFreq = 1545260000 ; // Uncomment this line to use the EU SPARTN 1.8 service
24
+ const uint32_t myLBandFreq = 1556290000 ; // Uncomment this line to use the US SPARTN 1.8 service
25
+ // const uint32_t myLBandFreq = 1545260000; // Uncomment this line to use the EU SPARTN 1.8 service
26
26
27
27
#define OK (ok ) (ok ? F(" -> OK" ) : F(" -> ERROR!" )) // Convert uint8_t into OK/ERROR
28
28
@@ -92,6 +92,7 @@ void setup()
92
92
if (ok) ok = myLBand.setVal64 (UBLOX_CFG_PMP_UNIQUE_WORD, 16238547128276412563ull );
93
93
if (ok) ok = myLBand.setVal (UBLOX_CFG_MSGOUT_UBX_RXM_PMP_I2C, 1 ); // Ensure UBX-RXM-PMP is enabled on the I2C port
94
94
if (ok) ok = myLBand.setVal (UBLOX_CFG_MSGOUT_UBX_RXM_PMP_UART1, 1 ); // Output UBX-RXM-PMP on UART1
95
+ if (ok) ok = myLBand.setVal (UBLOX_CFG_UART2OUTPROT_UBX, 1 ); // Enable UBX output on UART2
95
96
if (ok) ok = myLBand.setVal (UBLOX_CFG_MSGOUT_UBX_RXM_PMP_UART2, 1 ); // Output UBX-RXM-PMP on UART2
96
97
if (ok) ok = myLBand.setVal32 (UBLOX_CFG_UART1_BAUDRATE, 38400 ); // match baudrate with ZED default
97
98
if (ok) ok = myLBand.setVal32 (UBLOX_CFG_UART2_BAUDRATE, 38400 ); // match baudrate with ZED default
You can’t perform that action at this time.
0 commit comments