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

Method getPin

libraries/PinOutGroup/PinOutGroup.cpp:126–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124
125
126uint8_t PinOutGroup::getPin(uint8_t index)
127{
128 if (index >= _size) return 0xFF;
129 return _pins[index];
130}
131
132
133uint8_t PinOutGroup::getIndex(uint8_t pin)

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36