wobblyhead hg > arduino > Potentiometer
changeset 3:8f15fb46a050
higher jitter threshold, necesary at higher ambient temp?
| author | ark |
|---|---|
| date | 2017-06-02 21:39 +0200 |
| parents | a5e06e87f081 |
| children | 53e0509faa3c |
| files | Potentiometer.h |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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. */
