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.
Revision 0:6b7345059afe, committed 2010-06-08
- Comitter:
- simon
- Date:
- Tue Jun 08 14:12:30 2010 +0000
- Commit message:
Changed in this revision
diff -r 000000000000 -r 6b7345059afe GPS.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GPS.lib Tue Jun 08 14:12:30 2010 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/simon/code/GPS/#15611c7938a3
diff -r 000000000000 -r 6b7345059afe main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Tue Jun 08 14:12:30 2010 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+#include "GPS.h"
+
+Serial pc(USBTX, USBRX);
+GPS gps(p9, p10);
+
+int main() {
+ while(1) {
+ if(gps.sample()) {
+ pc.printf("I'm at %f, %f\n", gps.longitude, gps.latitude);
+ } else {
+ pc.printf("Oh Dear! No lock :(\n");
+ }
+ }
+}
diff -r 000000000000 -r 6b7345059afe mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Jun 08 14:12:30 2010 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/029aa53d7323
EM406 GPS Module