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

Method add

libraries/PinOutGroup/PinOutGroup.cpp:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31
32uint8_t PinOutGroup::add(uint8_t size, uint8_t* pinArray, uint8_t value)
33{
34 int n = 0;
35 for (uint8_t i = 0; i < size; i++)
36 {
37 n += add(pinArray[i], value);
38 }
39 return n;
40}
41
42
43uint8_t PinOutGroup::add(uint8_t pin, uint8_t value)

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36