7-segment display blinking problem?


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    I assume you have a proper copy of PBP and with it came a manual? Look up the HPWM command. It comes complete with examples in the manual. Your PIC16F877 has TWO PWM channels (look at the Datasheet), HPWM will be able to activate either one or both. Once you invoke HPWM, it keeps running in background regardless what else is happening until you change or stop it. This allows you to take new ADC reading and refresh your LED Displays without the PWM interfering.

  2. #2
    serdar_ozcan's Avatar
    serdar_ozcan Guest


    Did you find this post helpful? Yes | No

    Question how?

    Yes, of course I have a proper copy of PBP. But, when I changed "PWM portC.2,255,100" line to "HPWM 1,255,10000", I see 3,0V. on the PortC.2 instead of 5,0V. And still I can't understand. ( crystal 20MHz.) I tried on Proteus 6.7...

    Best Regard.

Similar Threads

  1. 7 Segment Displays and MAX7219
    By Bill Legge in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 31st October 2010, 18:30
  2. LED Machine Tach For Tired Eyes
    By Archangel in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 27th January 2010, 14:55
  3. Weird compile issue 7 segment LED display
    By George in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st June 2006, 02:12
  4. 7 segment digit problem (using Mister E's code)
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 9th September 2005, 20:25
  5. WRITE not working
    By servo260 in forum mel PIC BASIC Pro
    Replies: 31
    Last Post: - 29th December 2004, 02: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