We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05785d4 commit 71984b9Copy full SHA for 71984b9
1 file changed
src/PPMEncoder.cpp
@@ -19,6 +19,9 @@ void PPMEncoder::begin(uint8_t pin, uint8_t ch) {
19
numChannels = ch;
20
outputPin = pin;
21
22
+ for (uint8_t ch = 0; ch < numChannels; ch++) {
23
+ setChannelPercent(ch, 0);
24
+ }
25
26
TCCR1A = 0;
27
0 commit comments