3 channel PWM with customize duty cycle


Results 1 to 40 of 57

Threaded View

  1. #11
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: 3 channel PWM with customize duty cycle

    Hi,
    The Pause statement won't effect the PWM since it's generated in hardware. If you have Pause 1 you'll basically get 5 periods of each dutycycle value.

    You can Pause with microsecond resolution by using PauseUs (again, it's in the green book....)

    When testing I used 300us and you can see the result in the attached screenshot. This is not a simulation, it's captured on real hardware.
    Attached Images Attached Images  

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