
Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: measurement/TemperatureMeasurement.h
- Revision:
- 90:423177e8a401
- Parent:
- 82:ca7430f50b2b
- Child:
- 92:0acd11870c6a
--- a/measurement/TemperatureMeasurement.h Mon Mar 16 12:12:04 2015 +0000 +++ b/measurement/TemperatureMeasurement.h Fri Mar 20 13:55:21 2015 +0000 @@ -11,8 +11,8 @@ class TemperatureMeasurement { public: - TemperatureMeasurement(AbstractSmartRest&, SmartRestTemplate&, long&, LM75B&, DeviceIO&, DeviceInfo&, DisplayInfo&); - + TemperatureMeasurement(AbstractSmartRest&, SmartRestTemplate&, long&, DeviceIO&, DeviceInfo&, DisplayInfo&); + bool init(); bool run(); @@ -21,7 +21,7 @@ long& _deviceId; SmartRestTemplate& _tpl; AbstractSmartRest& _client; - LM75B& _sensor; + LM75B _sensor; float oldValue; Timer sendingTimer; DeviceIO& _io;