And correct me if i'm wrong but when i don't make a loop in the program i get no response on any pwm port
So i need the Goto mainloop
And correct me if i'm wrong but when i don't make a loop in the program i get no response on any pwm port
So i need the Goto mainloop
Did you also change the CCPMX configuration fuse for RB3/CCP2 alternate?
portc.2 is CCP1, are you saying that that one stopped working ?
And yes, you need to have a mainloop. Otherwise it goes to the END statement and enters Sleep mode. But changing the CCP registers doesn't need to be in the mainloop.
<br>
DT
It'll stay the same as you had it before. As will the
CCP?CON.4 = Duty?.0
CCP?CON.5 = Duty?.1
Unless I'm missing the point of the question.![]()
DT
Bookmarks