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

Method setSmoothWeight

libraries/AnalogPin/AnalogPin.cpp:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33
34void AnalogPin::setSmoothWeight(const uint8_t alpha)
35{
36 _alpha = alpha;
37 if (_alpha > 31) _alpha = 31;
38};
39
40
41int AnalogPin::read(const bool twice)

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64