MCPcopy 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
105void ML8511::setVoltsPerStep(float voltage, uint32_t steps)
106{
107 if (steps == 0) return;
108 if (voltage > 0.0) _voltsPerStep = voltage / steps;
109}
110
111
112float ML8511::getVoltsPerStep()

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64