Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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!
203
uint32_t X9C10X::getOhm()
204
{
205
return (_maxOhm * _position + 49) / 99;
206
};
207
208
209
uint32_t X9C10X::getMaxOhm()
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64