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

Method getOhm

libraries/X9C10X/X9C10X.cpp:203–206  ·  view source on GitHub ↗

rounding needed!

Source from the content-addressed store, hash-verified

201
202// rounding needed!
203uint32_t X9C10X::getOhm()
204{
205 return (_maxOhm * _position + 49) / 99;
206};
207
208
209uint32_t X9C10X::getMaxOhm()

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64