In this tutorial we will going to mix the Red LED Green LED and Blue LED by adjusting the brightness on each LED using Pulse with Modulation capabilities of the ATMEGA chip.
Parts Required
Arduino UNO/MEGA/NANO
1x RED LED
1x GREEN LED
1x BLUE LED
3x 220 Resistor
Wiring the components
The Arduino Sketch
[crayon-6767f0d0d8aa5915315544/]
Mixing Color with 3 LED using Pulse with Modulation