Want some help with LEDs


Closed Thread
Results 1 to 1 of 1
  1. #1
    Join Date
    Jul 2004
    Location
    CA
    Posts
    78

    Default Want some help with LEDs

    Hello everyone, I was wondering if anyone can help me with this, I am trying to use the OnBoard Hardware PWM three LEDs, I am using the 18F6620 as my PIC micro of choice and would like to see if someone can please help me fix my problem. I have set up the CCP's correctly for the PWM mode, and I am just varying the duty cycle for each of the outputs. I have attached a file below to give you a sense of what I am doing.. the LEDs at the output is telling me that the cycling of the duty is not occuring but instead flickering is visible. Can someon help me fix this problem. I am using Timer2 as my base counter for the PWM mode to keep track of when CCP is to switch and reset. Thanks for anyone who is willing to help me

    Again the file is attached below


    srigopal
    Attached Files Attached Files

Similar Threads

  1. Run a string of LEDs from the mains
    By The Master in forum Off Topic
    Replies: 30
    Last Post: - 1st October 2009, 18:55
  2. output port issues driving LEDs
    By p15218 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 27th August 2008, 21:42
  3. Using LEDs as light sensors
    By skimask in forum Code Examples
    Replies: 3
    Last Post: - 30th December 2006, 22:19
  4. controlling leds with the switches
    By ilteris in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th October 2005, 21:02
  5. Replies: 5
    Last Post: - 16th February 2005, 11:57

Members who have read this thread : 1

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