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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers CONSTANTS.h Source File

CONSTANTS.h

00001 #ifndef CONSTANTS_H
00002 #define CONSTANTS_H
00003 
00004 #define BAUD_RATE 115200
00005 #define GRAVITY_CONSTANT 9.81
00006 #define SAMPLE_RATE_MEASURE 0.016
00007 
00008 
00009 #endif