How to easily program the RGB LED in Arduino - Arduino Tutorial(Ep15)

Channel:
Subscribers:
428
Published on ● Video Link: https://www.youtube.com/watch?v=3Ftj4xt-w2k



Duration: 0:00
32 views
1


This is the easiest way to program the common cathode or anode rgb led.


Note that my temu arduino kit had a common anode while amazon's has a common cathode from what I've seen when others use it.

Get an Arduino kit - https://temu.to/k/u77r95d7o9p (Temu) - Same one I use.

Get an Arduino(Elegoo)Kit- https://amzn.to/3Yv56Jg (Amazon)

TIMESTAMPS
0:00 Intro
0:24 Common Cathode RGB LED (Regular type)
1:04 Code for Common Cathode RGB
7:35 Common Anode RGB LED (Rare type)
10:18 Code for Common Anode RGB
14:15 analogWrite
14:33 analogWrite with Common Cathode RGB LED
20:53 analogWrite with Common Anode RGB LED