
Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: measurement/AnalogMeasurement.cpp
- Revision:
- 88:8ab476939897
- Parent:
- 85:b49c4cfecc43
- Child:
- 90:423177e8a401
--- a/measurement/AnalogMeasurement.cpp Wed Mar 11 10:02:35 2015 +0000 +++ b/measurement/AnalogMeasurement.cpp Mon Mar 16 10:16:48 2015 +0000 @@ -53,12 +53,14 @@ lastSensorReadingSent=false; } aDebug("Similar analog readings found, no sending!\r\n"); +// printf("[N] %f, %f\r\n", data[0], data[1]); return true; } else { aDebug("Analog sensor timed out at %f s, a sending is forced.\r\n", sendingTimer.read()); } } +// printf("[Y] %f, %f (%f, %f)\r\n", data[0], data[1], oldValues[0], oldValues[1]); char status[25] = {0}; snprintf(status, 25, "Sending Poti %.1f,%.1f", data[0], data[1]); _io.lcdPrint(_displayInfo.getFirstLine(), _displayInfo.getSecondLine(), status);