Control RGB LED using MicroPython
Feb 6, 2023
This post/video will show you how you can control RGB (Red/Green/Blue) Light Emitting Diode (LED) components using MicroPython. I will show you a trick on how to display your desired custom color using PWM or Pulse Width Modulation technique.
WriteUp:
https://www.donskytech.com/control-rgb-led-using-micropython/
Code:
https://github.com/donskytech/micropython-raspberry-pi-pico/tree/main/rgb-module
Contents of the Video:
0:00 - Intro
1:03 - Demo
3:38 - DonskyTech Intro Plug
3:48 - Why I wrote this post?
5:08 - What is RGB LED Module?
5:46 - Wiring/Schematic
6:02 - What is RGB in a Nutshell?
7:20 - Pulse Width Modulation
9:08 - Code - basic_rgb_show.py
11:33 - Code - rgb_dim_brightness.py
12:48 - Code - custom_color.py
Show More Show Less #Computers & Electronics
