Senses an earthquake with MPU6050 and gets time, coordenates and other details of the event with an Adafruit GPS. All the info is sent to an HTTP server

Dependencies:   MPU6050 mbed-http MBed_Adafruit-GPS-Library

Files at this revision

API Documentation at this revision

Comitter:
Jan Jongboom
Date:
Tue Mar 27 11:13:48 2018 +0200
Parent:
27:6554d4f5f1c3
Child:
29:5ad8f931e4ff
Commit message:
Compile without requiring RTOS

Changed in this revision

mbed-http.lib Show annotated file Show diff for this revision Revisions of this file
source/main-http-ipv6.cpp Show annotated file Show diff for this revision Revisions of this file
source/main-http-socket-reuse.cpp Show annotated file Show diff for this revision Revisions of this file
source/main-http.cpp Show annotated file Show diff for this revision Revisions of this file
source/main-https-socket-reuse.cpp Show annotated file Show diff for this revision Revisions of this file
source/main-https.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/mbed-http.lib	Thu Jan 25 10:15:15 2018 +0200
+++ b/mbed-http.lib	Tue Mar 27 11:13:48 2018 +0200
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/sandbox/code/mbed-http/#fe4e03a404fb
+https://developer.mbed.org/teams/sandbox/code/mbed-http/#9a04ed79d67e
--- a/source/main-http-ipv6.cpp	Thu Jan 25 10:15:15 2018 +0200
+++ b/source/main-http-ipv6.cpp	Tue Mar 27 11:13:48 2018 +0200
@@ -47,7 +47,7 @@
         delete get_req;
     }
 
-    Thread::wait(osWaitForever);
+    wait(osWaitForever);
 }
 
 #endif
--- a/source/main-http-socket-reuse.cpp	Thu Jan 25 10:15:15 2018 +0200
+++ b/source/main-http-socket-reuse.cpp	Tue Mar 27 11:13:48 2018 +0200
@@ -84,7 +84,7 @@
 
     delete socket;
 
-    Thread::wait(osWaitForever);
+    wait(osWaitForever);
 }
 
 #endif
--- a/source/main-http.cpp	Thu Jan 25 10:15:15 2018 +0200
+++ b/source/main-http.cpp	Tue Mar 27 11:13:48 2018 +0200
@@ -65,7 +65,7 @@
         delete post_req;
     }
 
-    Thread::wait(osWaitForever);
+    wait(osWaitForever);
 }
 
 #endif
--- a/source/main-https-socket-reuse.cpp	Thu Jan 25 10:15:15 2018 +0200
+++ b/source/main-https-socket-reuse.cpp	Tue Mar 27 11:13:48 2018 +0200
@@ -111,7 +111,7 @@
 
     delete socket;
 
-    Thread::wait(osWaitForever);
+    wait(osWaitForever);
 }
 
 #endif
--- a/source/main-https.cpp	Thu Jan 25 10:15:15 2018 +0200
+++ b/source/main-https.cpp	Tue Mar 27 11:13:48 2018 +0200
@@ -120,7 +120,7 @@
         delete post_req;
     }
 
-    Thread::wait(osWaitForever);
+    wait(osWaitForever);
 }
 
 #endif