GPS/GNSS UBX protocol test for UART
Dependencies: mbed LoopTicker GPSUBX_UART
Diff: main.cpp
- Revision:
- 5:4343afa690fd
- Parent:
- 4:d9f72376aaa2
--- a/main.cpp Fri Nov 12 06:47:57 2021 +0000 +++ b/main.cpp Wed Jun 15 13:22:20 2022 +0000 @@ -4,7 +4,7 @@ Serial pc(USBTX, USBRX, 115200); I2C i2c(PB_9, PB_8); -GPSUBX_UART gps(PE_8, PE_7); +GPSUBX_UART gps(PD_5, PD_6); LoopTicker gps_ticker; @@ -22,7 +22,7 @@ int main() { gps.Attach(); - gps_ticker.attach(&Display, 0.5); + gps_ticker.attach(&Display, 0.2); while (1) { gps.Update();