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

Method setValue

libraries/AD520X/AD520X.cpp:76–82  ·  view source on GitHub ↗

//////////////////////////////////////////////////////////////////////// SET VALUE

Source from the content-addressed store, hash-verified

74// SET VALUE
75//
76bool AD520X::setValue(uint8_t pm, uint8_t value)
77{
78 if (pm >= _pmCount) return false;
79 _value[pm] = value;
80 updateDevice(pm, value);
81 return true;
82}
83
84
85uint8_t AD520X::getValue(uint8_t pm)

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36