Own fork of MbedSmartRestMain

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Cumulocity Official

Revision:
90:423177e8a401
Parent:
85:b49c4cfecc43
Child:
92:0acd11870c6a
--- a/measurement/TemperatureMeasurement.cpp	Mon Mar 16 12:12:04 2015 +0000
+++ b/measurement/TemperatureMeasurement.cpp	Fri Mar 20 13:55:21 2015 +0000
@@ -9,12 +9,12 @@
 // Time interval for forcing a sending even if analog sensor readings are constantly similar (in seconds).
 #define TIME_LIMIT_TEMP 900               
 
-TemperatureMeasurement::TemperatureMeasurement(AbstractSmartRest& client, SmartRestTemplate& tpl, long& deviceId, LM75B& sensor, 
-    DeviceIO& io, DeviceInfo& deviceInfo, DisplayInfo& displayInfo) :
+TemperatureMeasurement::TemperatureMeasurement(AbstractSmartRest& client, SmartRestTemplate& tpl,
+    long& deviceId, DeviceIO& io, DeviceInfo& deviceInfo, DisplayInfo& displayInfo) :
+    _deviceId(deviceId),
+    _tpl(tpl),
     _client(client),
-    _tpl(tpl),
-    _deviceId(deviceId),
-    _sensor(sensor),
+    _sensor(D14,D15),
     oldValue(0),
     _io(io),
     _deviceInfo(deviceInfo),