Quantcast
Channel: Efstathios Chatzikyriakidis » Arduino & Processing
Viewing all articles
Browse latest Browse all 50

How to read smoothly an average value from a jumpy or erratic input sensor.

$
0
0
Below, is an Arduino function for reading smoothly an average value from a jumpy or erratic analog input sensor. The function reads repeatedly from an analog input, calculating a running average and returns the value back to the caller. Here is the function : // get an average value from a jumpy or erratic input […]

Viewing all articles
Browse latest Browse all 50

Trending Articles