Official reference client implementation for Cumulocity SmartREST on u-blox C027.
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: measurement/Potentiometer.cpp
- Revision:
- 125:979ab0d075de
- Parent:
- 124:311fa85af2b3
- Child:
- 130:dc9e37d4bc05
--- a/measurement/Potentiometer.cpp Fri May 29 12:05:01 2015 +0000 +++ b/measurement/Potentiometer.cpp Mon Jun 01 11:24:17 2015 +0000 @@ -38,7 +38,7 @@ min[1] = min[1] <= d1 ? min[1] : d1; max[0] = max[0] >= d0 ? max[0] : d0; max[1] = max[1] >= d1 ? max[1] : d1; - Thread::wait(5); + Thread::wait(10); } data[0] = (data[0]-min[0]-max[0]) / (N-2); data[1] = (data[1]-min[1]-max[1]) / (N-2);