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

Method setValue

libraries/DAC8552/DAC8552.cpp:106–110  ·  view source on GitHub ↗

channel = 0, 1, 2, 3 depending on type value = 0..65535

Source from the content-addressed store, hash-verified

104// channel = 0, 1, 2, 3 depending on type
105// value = 0..65535
106void DAC8552::setValue(uint8_t channel, uint16_t value)
107{
108 _value[channel] = value;
109 updateDevice(channel, true);
110}
111
112
113// channel = 0, 1, 2, 3 depending on type

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36