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

Method getPin

libraries/PinInGroup/PinInGroup.cpp:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82
83uint8_t PinInGroup::getPin(uint8_t index)
84{
85 if (index >= _size) return 0xFF;
86 return _pins[index];
87}
88
89
90uint8_t PinInGroup::getIndex(uint8_t pin)

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36