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

Method getSmoothWeight

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

Source from the content-addressed store, hash-verified

35 // alpha = 0..31;
36 void setSmoothWeight(const uint8_t alpha = 0);
37 inline uint8_t getSmoothWeight(void) const { return _alpha; };
38
39 // twice=true to do analogRead twice to reduce noise
40 int read(const bool twice = false);

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64