// https://forum.arduino.cc/t/arduino-uno-timer-2-fast-pwm-bug/1118321
// https://docs.arduino.cc/tutorials/generic/secrets-of-arduino-pwm
void setup() {
DDRD |= (1<<PD3); // Output Pin 3 (Arduino DIO 3) for PD3 PWM Timer OC2B output
TCCR2A = (1<<COM2B1) | (1<<COM2B0) | (1<<WGM21) | (1<<WGM20); // Inverting Fast PWM mode 3 using OCR B unit
TCCR2B = (1<<CS20); // No-Prescalar
OCR2B = 0xFF - 20;
}
void loop() {
}