Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ setWeight
Method
setWeight
libraries/runningAngle/runningAngle.h:31–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
float getAverage() { return _average; };
30
31
void setWeight(float w) { _weight = constrain(w, 0.001, 1); };
32
float getWeight() { return _weight; };
33
enum AngleType type() { return _type; };
34
Callers
1
unittest
Function · 0.45
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.36