16F690 HWPM - outputting PWM on a different HPWM port/pin - brainache!


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default

    Thanks guys ...hey ho, looks like I'm stuck with Pin 5 then - sheesh, hardware schmardware (I do need 20Khz - but that a useful 'solution' to tuck away though)

  2. #2


    Did you find this post helpful? Yes | No

    Default HPWM limited to 255, how do you get 350?

    You show a command HPWM 1,350,20000 which implies you have 9 or 10 bit HPWM.

    Is the 350 a typo or have you got something special in your HPWM command?

    Cheers
    Brian

  3. #3
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by BrianT View Post
    You show a command HPWM 1,350,20000 which implies you have 9 or 10 bit HPWM.

    Is the 350 a typo or have you got something special in your HPWM command?

    Cheers
    Brian
    Hi Brian,

    Good spot - it was a typo - I didn't cut/paste from my program buy I just hastily typed it in to the post. (as it goes, I use 10 bit PWM, which might account for me getting carried away with the numbers for the duty cycle!)

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