Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ setVoltsPerStep
Method
setVoltsPerStep
libraries/ML8511/ML8511.cpp:105–109 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
103
104
105
void ML8511::setVoltsPerStep(float voltage, uint32_t steps)
106
{
107
if (steps == 0) return;
108
if (voltage > 0.0) _voltsPerStep = voltage / steps;
109
}
110
111
112
float ML8511::getVoltsPerStep()
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64