Fade out LEDs question


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    The only way i know of to fade a LED is by using PWM, so you would need to apply a decaying pulse width to each pin, but steping to the next pin before the previous pin had reached zero, it would give you a night rider effect if you bounced it up and down the pins

  2. #2
    Join Date
    Dec 2005
    Location
    So Cal and loving it
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Caps?

    If you dont mind extra components, a small capacitor before your limiting resistors would give the affect your looking for.

    Paul
    +-------------------------------------------------------------------+
    | PBP 2.47/2.50 | MCS+ 3.0.0.5 | U2 Prog | Vista x64 | NO SLEEP!!!!!!! |
    +-------------------------------------------------------------------+

  3. #3
    Join Date
    Sep 2007
    Posts
    50


    Did you find this post helpful? Yes | No

    Default

    I use Darrel Taylor's DT_INTS-14 (SPWM_INT - Multiple Software PWM) to achive this very well.


    http://darreltaylor.com/DT_INTS-14/SPWM.html
    Best Regards,

    Kurt A. Kroh
    KrohTech

    “Goodbye and thanks for all the fish”

Similar Threads

  1. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  2. Max7219 question
    By jamied in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th December 2008, 16:33
  3. Use of a PIC
    By Edwardo in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 22nd March 2007, 14:11
  4. Using LEDs as light sensors
    By skimask in forum Code Examples
    Replies: 3
    Last Post: - 30th December 2006, 22:19
  5. controlling leds with the switches
    By ilteris in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th October 2005, 21:02

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts