wobblyhead hg > arduino > Potentiometer
diff Potentiometer.h @ 3:8f15fb46a050
higher jitter threshold, necesary at higher ambient temp?
| author | ark |
|---|---|
| date | 2017-06-02 21:39 +0200 |
| parents | a5e06e87f081 |
| children | ea44b28e12ab |
line wrap: on
line diff
--- a/Potentiometer.h Sun Jan 29 13:59:46 2017 +0100 +++ b/Potentiometer.h Fri Jun 02 21:39:39 2017 +0200 @@ -42,7 +42,7 @@ * added to current average. value changes larger than the threshold * reset the average. */ - const unsigned long JITTER_THRESHOLD = 2; + const unsigned long JITTER_THRESHOLD = 3; /** max samples for de-jittering. */
