Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ setModeRunningAverage
Method
setModeRunningAverage
libraries/SRF05/SRF05.cpp:79–84 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
77
78
79
void SRF05::setModeRunningAverage(float alpha)
80
{
81
_mode = 0x03;
82
_count = 1;
83
_alpha = alpha;
84
}
85
86
87
uint8_t SRF05::getOperationalMode()
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64