From 786fe0c0e5ba6d006e1a1d6ea2f6950e3295711a Mon Sep 17 00:00:00 2001 From: PaulZC Date: Mon, 7 Mar 2022 12:51:33 +0000 Subject: [PATCH] Update Example30_NEO-D9S.ino --- examples/Example30_NEO-D9S/Example30_NEO-D9S.ino | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/Example30_NEO-D9S/Example30_NEO-D9S.ino b/examples/Example30_NEO-D9S/Example30_NEO-D9S.ino index a130421..fa971d6 100644 --- a/examples/Example30_NEO-D9S/Example30_NEO-D9S.ino +++ b/examples/Example30_NEO-D9S/Example30_NEO-D9S.ino @@ -21,8 +21,8 @@ #include //http://librarymanager/All#SparkFun_u-blox_GNSS SFE_UBLOX_GNSS myLBand; // NEO-D9S -//const uint32_t myLBandFreq = 1556290000; // Uncomment this line to use the US SPARTN 1.8 service -const uint32_t myLBandFreq = 1545260000; // Uncomment this line to use the EU SPARTN 1.8 service +const uint32_t myLBandFreq = 1556290000; // Uncomment this line to use the US SPARTN 1.8 service +//const uint32_t myLBandFreq = 1545260000; // Uncomment this line to use the EU SPARTN 1.8 service #define OK(ok) (ok ? F(" -> OK") : F(" -> ERROR!")) // Convert uint8_t into OK/ERROR @@ -92,6 +92,7 @@ void setup() if (ok) ok = myLBand.setVal64(UBLOX_CFG_PMP_UNIQUE_WORD, 16238547128276412563ull); if (ok) ok = myLBand.setVal(UBLOX_CFG_MSGOUT_UBX_RXM_PMP_I2C, 1); // Ensure UBX-RXM-PMP is enabled on the I2C port if (ok) ok = myLBand.setVal(UBLOX_CFG_MSGOUT_UBX_RXM_PMP_UART1, 1); // Output UBX-RXM-PMP on UART1 + if (ok) ok = myLBand.setVal(UBLOX_CFG_UART2OUTPROT_UBX, 1); // Enable UBX output on UART2 if (ok) ok = myLBand.setVal(UBLOX_CFG_MSGOUT_UBX_RXM_PMP_UART2, 1); // Output UBX-RXM-PMP on UART2 if (ok) ok = myLBand.setVal32(UBLOX_CFG_UART1_BAUDRATE, 38400); // match baudrate with ZED default if (ok) ok = myLBand.setVal32(UBLOX_CFG_UART2_BAUDRATE, 38400); // match baudrate with ZED default