
Originally Posted by
Kenjones1935
I have discovered through the use of my oscilloscope that PAUSE stops the HPWM output pulses.
Hey Ken, welcome back to town.
Do you mind posting some of your code for us to figure out what is going on? The HPWM command, or using the CCP hardware PWM with your own commands should both work independently of your code. I have a 2 second pause that is repeated, but HPWM keeps pumping out pulses the entire time. But if I repeatedly call HPWM and set it using PBP, it can give me some screwy results. Probably better setting the registers directly, like Bruce shows in this example: http://www.picbasic.co.uk/forum/show...1478#post61478
What PIC hardware are you using?
Thanks,
Walter
http://www.scalerobotics.com
Bookmarks