Dr WHO, I’m trying to make D1 act just like D2, but I’m having trouble. I added OCR2A = Brightness;
to a5nightLight
and pin 20 is still the only one with nightlight-related activity.
Then I found TCCR2A = (_BV(WGM20) | _BV(COM2B1))
and added TCCR2B = (_BV(WGM20) | _BV(COM2B1))
, although I don’t fully understand what that does. Still nothing on pin 21.
Can you suggest something else to try?