If adding more code to your ASM program changes the timing, then it's not using interrupts or hardware pwm. Sounds like the timing using that program is not adjustable.
I remember someone here posted about DT-INT and pwm, I'd search for that.
Robert
If adding more code to your ASM program changes the timing, then it's not using interrupts or hardware pwm. Sounds like the timing using that program is not adjustable.
I remember someone here posted about DT-INT and pwm, I'd search for that.
Robert
What oscillator speed are you using, and is a CCP pin available?
Best Regards,
Paul
The way to avoid mistakes is to gain experience. The way to gain experience is to make mistakes.
Bookmarks