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

Method begin

libraries/M62429/M62429.cpp:18–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17
18void M62429::begin(uint8_t dataPin, uint8_t clockPin)
19{
20 _data = dataPin;
21 _clock = clockPin;
22 pinMode(_data, OUTPUT);
23 pinMode(_clock, OUTPUT);
24 digitalWrite(_data, LOW);
25 digitalWrite(_clock, LOW);
26
27 _muted = false;
28 setVolume(2, 0);
29}
30
31
32int M62429::getVolume(uint8_t channel)

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36