RGB Fading Using 3 LEDs and PWM


Results 1 to 28 of 28

Threaded View

  1. #8
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Tissy,

    the Rainboow example does not use any Hardware PWM,
    (not even PBPs Software PWM)

    The Advantage of Hardware PWM is it runs in Background
    while the Main program is doing other things.

    With Software PWM you have got to keep your code small and you don't have much MCU time spare to do other things if you want to avoid "flickering" effects.

    As you are developing on an 16F876 (which has HPWM)
    you can easily find out the difference by simply trying it,

    see PBP Manual "PWM" (Section. 5.61)
    and "HPWM" (Section. 5.29)"
    for reference.
    Last edited by NavMicroSystems; - 15th February 2005 at 00:57.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



Similar Threads

  1. RGB Fading Using 3 LEDs and PWM
    By _abello in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 19th April 2006, 15:50
  2. Slowing Down RGB PWM Routine
    By Tissy in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th March 2005, 09:22
  3. Tidying Up PWM Routine
    By Tissy in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st February 2005, 00:26
  4. PWM conflict
    By Srigopal007 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 1st September 2004, 15:18
  5. pics with 3 hardware PWM ports
    By CBUK in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th August 2004, 00:14

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