Fork from Mark Randall MPL3115A2 Altitude/Pressure Sensor. Changed to make it compatible with TiltyQuad TiltyIMU module. By Ian HUA 2014.
Fork of MPL3115A2 by
Diff: MPL3115A2.h
- Revision:
- 3:fb9726aaa41d
- Parent:
- 1:8e57853ce55b
--- a/MPL3115A2.h Thu May 08 10:45:45 2014 +0000 +++ b/MPL3115A2.h Mon May 19 13:18:52 2014 +0000 @@ -1,4 +1,5 @@ #include "mbed.h" +#include "I2CMasterRtos.h" #ifndef _MPL3115A2_H_ #define _MPL3115A2_H_ @@ -32,7 +33,7 @@ char _SensorData[8]; //Char array that holds the current Altitude and Temperature data - I2C _i2c; + I2CMasterRtos _i2c; //DigitalIn _pin1; //DigitalIn _pin2; };