For RGB LED with common Anode, you need to: Connect the common pin to 3.3V of Arduino. Change R, G and B values in analogWrite() function to 255 - R, 255 - G, and 255 - B, respectively; A sequences of RCB LED connected together creates the RGB LED Strip.
Arduino RGB LED Circuit Diagram. Connect the cathode of the RGB led which is the longer pin of RGB led to the GND of Arduino and the other three pins to the pin 11, 10, 9 of Arduino through the 220 ohm resistors. The resistors will prevent the excess amou
RGB LED Tutorial (using an Arduino) (RGBL): LEDs are great. But with any project there comes a point where flashing is simply not enough. For these cases an RGB (Red, Green, BLue) LED is the answer.With an RGB LED you'll be able to produce any colour
Post a Comment:
Showing 0 Comments: