Smoothing AnalogRead

Thank you this is very useful stuff.
With a lot of switches and buttons sometimes.

Just to be sure there is no hysteresis when digitalRead, right?
Only analog?

tnx for the tip!