This is the homework for Paul McWhorter's Raspberry Pi Pico W LESSON 12: Understanding and Controlling an RGB LED in MicroPython (not lesson 11, as it says in the video!) [ Ссылка ]
This week we are changing the colour of an RGB LED using a Pulse Width Modulation (PWM) output from the GPIO pins on the Raspberry Pi Pico W.
Unlike the common cathode LED that Paul is using in his lesson, I am using a common anode RGB LED. Consequently I am connecting the second (common) pin of my LED to the 3.3v pin, not to the ground pin used in Paul's video. The PWM values are also switched.
Ещё видео!