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
source/FUNCTIONS.h@36:32a0a71555f0, 2019-08-01 (annotated)
- Committer:
- Alvaro13
- Date:
- Thu Aug 01 03:43:28 2019 +0000
- Revision:
- 36:32a0a71555f0
First commit!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Alvaro13 | 36:32a0a71555f0 | 1 | #ifndef FUNCTIONS_H |
Alvaro13 | 36:32a0a71555f0 | 2 | #define FUNCTIONS_H |
Alvaro13 | 36:32a0a71555f0 | 3 | |
Alvaro13 | 36:32a0a71555f0 | 4 | void print_debug(); |
Alvaro13 | 36:32a0a71555f0 | 5 | string compute_intensity(float xPGA, float yPGA); |
Alvaro13 | 36:32a0a71555f0 | 6 | void measure(); |
Alvaro13 | 36:32a0a71555f0 | 7 | void send_meassure(); |
Alvaro13 | 36:32a0a71555f0 | 8 | void getGPSCoordinates(); |
Alvaro13 | 36:32a0a71555f0 | 9 | |
Alvaro13 | 36:32a0a71555f0 | 10 | |
Alvaro13 | 36:32a0a71555f0 | 11 | #endif |