sample code for lib gps_setting_venus_

Dependencies:   gps_settings_venus mbed

Files at this revision

API Documentation at this revision

Comitter:
sssrc_frsh2013
Date:
Sat Nov 09 12:19:01 2013 +0000
Commit message:
initial release;

Changed in this revision

gps_settings_venus.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r a086a296438b gps_settings_venus.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gps_settings_venus.lib	Sat Nov 09 12:19:01 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/sssrc_frsh2013/code/gps_settings_venus/#d80196ed93bc
diff -r 000000000000 -r a086a296438b main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Nov 09 12:19:01 2013 +0000
@@ -0,0 +1,24 @@
+#include "mbed.h"
+#include "gps_stg_venus.h"
+
+Serial gps(p28,p27);
+GPSVenus venus(gps);
+Serial pc(USBTX,USBRX);
+
+int main(){
+pc.baud(115200);
+
+printf("start\r\n");
+venus.setBaud_115200();
+wait(0.5);
+gps.baud(115200);
+venus.setUpdateRate(10);
+wait(0.5);
+venus.setNmeaMessages(false, false, false, false, true, false);
+
+
+while(1){
+    pc.putc(gps.getc());
+}
+
+}
\ No newline at end of file
diff -r 000000000000 -r a086a296438b mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sat Nov 09 12:19:01 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/f37f3b9c9f0b
\ No newline at end of file