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 Vincent Wochnik

Files at this revision

API Documentation at this revision

Comitter:
xinlei
Date:
Fri May 15 14:23:31 2015 +0000
Parent:
113:3872569be2af
Child:
115:c54e9731b9de
Commit message:
shorten sampling interval for pots

Changed in this revision

measurement/Potentiometer.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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);