MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / getNoiseThreshold

Method getNoiseThreshold

libraries/AnalogPin/AnalogPin.h:33–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 // noise 0..255; in practice only small values are used (0..10).
32 inline void setNoiseThreshold(const uint8_t noise = 0) { _noise = noise; };
33 inline uint8_t getNoiseThreshold(void) const { return _noise; };
34
35 // alpha = 0..31;
36 void setSmoothWeight(const uint8_t alpha = 0);

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64