Updating HPWM frequently, safe?


Closed Thread
Results 1 to 40 of 79

Hybrid View

  1. #1
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Updating HPWM frequently, safe?

    If by “glitch free” you mean free of any resolution error, not every frequency or duty cycle you want to generate will be.
    for any particular frequency, you need the pic’s clock frequency to tell you that.
    This online PWM calculator can tell you:
    http://www.micro-examples.com/public...alculator.html

    whether or not you can change it for arbitrary duration for every pulse like that would be a tough one,
    I don’t think that’s possible, but might be wrong.

    Depending what else the chip has to do, it might be possible to use timer1 overflow that way.
    Last edited by Art; - 18th June 2015 at 19:58.

Similar Threads

  1. need help on hpwm
    By helmut in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th August 2007, 15:49
  2. HPWM of the port of two HPWM
    By ja2rqk in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th April 2007, 15:05
  3. sound command & music
    By trying in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 26th May 2006, 14:14
  4. HPWM and A to D interaction question 18F252
    By tcbcats in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 10th May 2006, 03:50
  5. 3 HPWM channels
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th April 2006, 02:43

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