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

    20W Stereo Amplifier Circuit
    variable 0 to 300 volts regulated power
    Energy Saving Lighting with One-Shot Timer Circuit
    Jogging Timer
    USB Switch For Printers
    Ammo Box Sequencer
    Frequency counter Counter schematic