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:
- 114:80610be056e2
- Parent:
- 113:3872569be2af
- Child:
- 115:c54e9731b9de
--- a/measurement/Potentiometer.cpp Fri May 15 14:07:51 2015 +0000 +++ b/measurement/Potentiometer.cpp Fri May 15 14:23:31 2015 +0000 @@ -29,7 +29,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(10); + Thread::wait(5); } data[0] = (data[0]-min[0]-max[0]) / (N-2); data[1] = (data[1]-min[1]-max[1]) / (N-2);