MTDOT-BOX-EVB-Factory-Firmware
Dependencies: NCP5623B GpsParser ISL29011 libmDot-mbed5 MTS-Serial MMA845x DOGS102 MPL3115A2
Diff: SensorHandler/SensorHandler.h
- Revision:
- 12:05435282f899
- Parent:
- 1:71125aa00e33
--- a/SensorHandler/SensorHandler.h Thu Nov 10 22:10:58 2016 +0000 +++ b/SensorHandler/SensorHandler.h Tue Oct 09 13:49:30 2018 -0500 @@ -41,7 +41,7 @@ { public: enum Scale{CELSIUS, FAHRENHEIT}; - SensorHandler(void); + SensorHandler(I2C& i2c); ~SensorHandler(void); MMA845x_DATA getAcceleration(void); float getLight(void); @@ -57,7 +57,6 @@ static void startSensorThread (void const *p); void readSensors(void); void initSensors(void); - I2C _mDoti2c; MMA845x _accelerometer; MPL3115A2 _barometricSensor; ISL29011 _lightSensor; @@ -65,7 +64,7 @@ MPL3115A2_DATA _barometerData; uint16_t _light; uint32_t _pressure; - Mutex _mutex; + Mutex _mutex; }; #endif //SENSORHANDLER_H