GPS/GNSS UBX protocol test for UART
Dependencies: mbed LoopTicker GPSUBX_UART
Revision 5:4343afa690fd, committed 2022-06-15
- Comitter:
- osaka
- Date:
- Wed Jun 15 13:22:20 2022 +0000
- Parent:
- 4:d9f72376aaa2
- Commit message:
- tested new GPS sensor
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r d9f72376aaa2 -r 4343afa690fd main.cpp --- 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();