Arduino UNO R4 Software PWM on Every Digital Pin
Digital pins can normally only output HIGH or LOW. Using the Arduino UNO R4’s fast clock, we drive all 20 pins with Software PWM to render three different waves of light — complete with gamma correction and full source code.