AA

Dependencies:   DHT_ gps_settings_venus_ mbed

Fork of coen490_controller by Ka Yu Ho

Files at this revision

API Documentation at this revision

Comitter:
urietony
Date:
Tue Mar 21 21:51:32 2017 +0000
Parent:
1:21ee654912d1
Commit message:
ASDF

Changed in this revision

DHT.lib Show annotated file Show diff for this revision Revisions of this file
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
diff -r 21ee654912d1 -r 65cffee0c0f7 DHT.lib
--- a/DHT.lib	Tue Mar 21 21:16:57 2017 +0000
+++ b/DHT.lib	Tue Mar 21 21:51:32 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/Wimpie/code/DHT/#02d8b3d4b8af
+https://developer.mbed.org/users/urietony/code/DHT_/#02d8b3d4b8af
diff -r 21ee654912d1 -r 65cffee0c0f7 gps_settings_venus.lib
--- a/gps_settings_venus.lib	Tue Mar 21 21:16:57 2017 +0000
+++ b/gps_settings_venus.lib	Tue Mar 21 21:51:32 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/sssrc_frsh2013/code/gps_settings_venus/#eafd1873083c
+https://developer.mbed.org/users/urietony/code/gps_settings_venus_/#866d7cb1ce21
diff -r 21ee654912d1 -r 65cffee0c0f7 main.cpp
--- a/main.cpp	Tue Mar 21 21:16:57 2017 +0000
+++ b/main.cpp	Tue Mar 21 21:51:32 2017 +0000
@@ -10,6 +10,7 @@
 Serial gps(PA_0,PA_1);
 Serial xbee(PC_10,PC_11);
 Serial motor(PA_0,PA_1);
+GPSVenus venus(gps);
 AnalogIn gassensor(PC_1);
 char data_gps[256],ns,ew,sampah[256];
 int g=0, cek_gps,lock,satelit;
@@ -261,7 +262,7 @@
         if( a == 'G'){
             //GPS function
             get_gps();
-            xbee.printf("Your Current location is %f %c,%f %c."latx,ns, longx,ew);
+            xbee.printf("Your Current location is %f %c,%f %c.",latx,ns, longx,ew);
             a = NULL;
             printInit();    
         }