sakura.io Evalution board's example.
Dependencies: AQM0802A BME280 MPU9250_SPI SakuraIO gps mbed
Fork of SakuraIO_Evaluation_Board_Standard by
sakura.io Evalution board's sample program. Collecting the onboard sensors(GPS, 9axis motion sensor, Environment sensor), send to sakura.io service.
Diff: sensors.h
- Revision:
- 0:db3ec2781484
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sensors.h Thu Sep 07 08:32:10 2017 +0000 @@ -0,0 +1,17 @@ +typedef struct { + float temperature; + float pressure; + float humidity; +} BME280Data; + +typedef struct { + float temperature; + float accelerometer[3]; + float gyroscope[3]; + float magnetometer[3]; +} MPU9250Data; + +typedef struct { + BME280Data bme280; + MPU9250Data mpu9250; +} SensorData;