Closed FedericoBusero closed 4 years ago
When calling analogWrite with value 0 or 255, the code first allocates a PWM channel (in attachPin) and immediately after it detaches (deallocate) again. This is not necessary (and will cause problems when all channels are already occupied).
When calling analogWrite with value 0 or 255, the code first allocates a PWM channel (in attachPin) and immediately after it detaches (deallocate) again. This is not necessary (and will cause problems when all channels are already occupied).