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: AQM0802A BME280 MPU9250_SPI SakuraIO gps mbed
Diff: sensors.h
- Revision:
- 0:db3ec2781484
diff -r 000000000000 -r db3ec2781484 sensors.h --- /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;