An example for TinyGPSPlus

Dependencies:   TinyGPSPlus

Files at this revision

API Documentation at this revision

Comitter:
aoba
Date:
Sat Feb 02 07:17:19 2019 +0000
Parent:
0:eff8db5e950d
Commit message:
updated mbed to mbed-os

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show diff for this revision Revisions of this file
diff -r eff8db5e950d -r 351d281f437f main.cpp
--- a/main.cpp	Sat Feb 02 06:53:56 2019 +0000
+++ b/main.cpp	Sat Feb 02 07:17:19 2019 +0000
@@ -32,7 +32,5 @@
     gps.baud(GPS_BAUD_RATE);
     gps.format(8, Serial::None, 1);
     gps.attach(&callback, Serial::RxIrq);
-    while(1) {
-        wait(1);
-    }
+    wait(osWaitForever);
 }
diff -r eff8db5e950d -r 351d281f437f mbed-os.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-os.lib	Sat Feb 02 07:17:19 2019 +0000
@@ -0,0 +1,1 @@
+https://github.com/armmbed/mbed-os/#a8f0c33eaa2c52babff9655417c36f4b5edd54d7
diff -r eff8db5e950d -r 351d281f437f mbed.bld
--- a/mbed.bld	Sat Feb 02 06:53:56 2019 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://os.mbed.com/users/mbed_official/code/mbed/builds/3a7713b1edbc
\ No newline at end of file