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

    27MHz CW transmitter
    Plug-in speed control for tools or appliances
    74LS192 Computer controller 4 DC motors
    MGT Lifetime/Universal Disc Drive
    AVR Atmega32 flash verification error
    temperature sensor circuit
    Simple Electronic Fan Regulator Circuit PCB
    Cmos Based Vehicle Anti-Theft Alarm
    Lm3485 Led Demo Board
    Short-Range Sonar with the BS2!
    GaAs FET preamp
    Electronic Circuit Schematic Dimmer LED using LM555 for Photo/Build Light



    Top