
Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Revision 113:80610be056e2, committed 2015-05-15
- Comitter:
- xinlei
- Date:
- Fri May 15 14:23:31 2015 +0000
- Parent:
- 112:3872569be2af
- Child:
- 114: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);