AA
Dependencies: DHT_ gps_settings_venus_ mbed
Fork of coen490_controller by
Diff: main.cpp
- Revision:
- 2:65cffee0c0f7
- Parent:
- 1:21ee654912d1
--- 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(); }