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

Method add

libraries/PinInGroup/PinInGroup.cpp:29–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28
29uint8_t PinInGroup::add(uint8_t size, uint8_t * pinArray, uint8_t mode)
30{
31 int n = 0;
32 for (uint8_t i = 0; i < size; i++)
33 {
34 n += add(pinArray[i], mode);
35 }
36 return n;
37}
38
39
40uint8_t PinInGroup::add(uint8_t pin, uint8_t mode)

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36