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 2121#include < SparkFun_u-blox_GNSS_Arduino_Library.h> // http://librarymanager/All#SparkFun_u-blox_GNSS
2222SFE_UBLOX_GNSS myLBand; // NEO-D9S
2323
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
2626
2727#define OK (ok ) (ok ? F(" -> OK" ) : F(" -> ERROR!" )) // Convert uint8_t into OK/ERROR
2828
@@ -92,6 +92,7 @@ void setup()
9292 if (ok) ok = myLBand.setVal64 (UBLOX_CFG_PMP_UNIQUE_WORD, 16238547128276412563ull );
9393 if (ok) ok = myLBand.setVal (UBLOX_CFG_MSGOUT_UBX_RXM_PMP_I2C, 1 ); // Ensure UBX-RXM-PMP is enabled on the I2C port
9494 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
9596 if (ok) ok = myLBand.setVal (UBLOX_CFG_MSGOUT_UBX_RXM_PMP_UART2, 1 ); // Output UBX-RXM-PMP on UART2
9697 if (ok) ok = myLBand.setVal32 (UBLOX_CFG_UART1_BAUDRATE, 38400 ); // match baudrate with ZED default
9798 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