Arduino Analog WriteMega

Posted on Feb 6, 2014

Connect the longer, positive legs of (anodes) 12 LEDs to digital pins 2-13 through 220 ohm current limiting resistors. Connect the shorter, negative legs (cathodes) to ground. moves through each of the LEDS one by one, from the lowest pin to the highest. Before this loop is allowed to move from one pin to the next, two things must be accomplished.

Arduino Analog WriteMega
Click here to download the full size of the above Circuit.

First, you brighten the individual LED through these lines of code:

Leave Comment

characters left:

Related Circuits

  • New Circuits



    Popular Circuits

    Four Foot Box Loop Antenna
    Solar Garden LED Lighting
    Push-on-push-off electronic switch
    Fuel Tank Pressure Sensor Circuit with explanation
    Digital Clock Circuit with T89C51 microcontroller
    simple radio schematic
    Colpitts oscillator
    white led driver provides 64
    Single-tube constant current charger circuit