Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ setO2
Method
setO2
libraries/AD524X/AD524X.cpp:113–118 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
111
112
113
uint8_t AD524X::setO2(const uint8_t value)
114
{
115
_O2 = (value == LOW) ? 0: AD524X_O2_HIGH;
116
uint8_t cmd = AD524X_RDAC0 | _O1 | _O2;
117
return send(cmd, _lastValue[0]);
118
}
119
120
121
uint8_t AD524X::getO1()
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64