Notes and Known Issues
The PWM outputs generated on pins 5 and 6 will have higher-than-expected duty cycles. This is because of interactions with the millis() and delay() functions, which share the same internal timer used to generate those PWM outputs. This will be noticed mostly on low duty-cycle settings (e.g 0 - 10) and may result in a value of 0 not fully turning off the output on pins 5 and 6.
why does it flicker when all three are set to the same frequency?
TCCR0A = _BV(COM0A1) | _BV(COM0B1) | _BV(WGM00);
Users browsing this forum: 13andrew and 3 guests