Monday, August 10, 2015

Arduino 3 LED fading


Arduino 3 led color fading
The code above is to slowly fade 3 different led colors from one to another. This code will increase and decrease in brightness to transition to the next color. The circuit in this uses 3 different colored led with a 100 ohm resistor each led. Each led is connected to one of the Arduino's pins, the ones i used were 9, 10 and 11, like you see above in the code.
Above, you can see the video of the leds fading from one another with the Arduino code.

Below you can see how i have wired the leds with the Arduino. You can replace the led(s) with an RGB led, like you can see below.