Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ selectChannel
Method
selectChannel
libraries/TCA9548/TCA9548.cpp:85–90 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
83
84
85
bool TCA9548::selectChannel(uint8_t channel)
86
{
87
if (channel > 7) return false;
88
setChannelMask(0x01 << channel);
89
return true;
90
}
91
92
93
bool TCA9548::isEnabled(uint8_t channel)
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64