Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 |
--- 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();