MCPcopy 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
85bool TCA9548::selectChannel(uint8_t channel)
86{
87 if (channel > 7) return false;
88 setChannelMask(0x01 << channel);
89 return true;
90}
91
92
93bool TCA9548::isEnabled(uint8_t channel)

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64