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.
Dependencies: FXOS8700Q TinyGPSPlus
Revision 9:e4b111ec65e9, committed 2019-02-06
- Comitter:
- zer044
- Date:
- Wed Feb 06 23:10:41 2019 +0000
- Parent:
- 8:9560dcd4341b
- Commit message:
- Clean up
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Feb 06 23:09:05 2019 +0000
+++ b/main.cpp Wed Feb 06 23:10:41 2019 +0000
@@ -46,13 +46,8 @@
mag.enable(); //start magnetometer
while(true){
//sensor_data();
- get_gps();
-
+ get_gps();
}
-
-
-
-
}
void lora_setup(){
@@ -76,10 +71,9 @@
latitude = gps.location.lat();
longitude = gps.location.lng();
-
data_time = t.read_ms();
//data = (string(latitude)+","+string(longitude)+","+string(data_time));
- pc.printf("\r latitude %lf, longitude %lf \n", latitude, longitude);
+ printf("\r latitude %lf, longitude %lf \n", latitude, longitude);
//send_gps(data);
led1!=led1;
wait(1000);