Quote Originally Posted by Kenjones1935 View Post
I want to use the interrupt system to make my Pulse Width Modulated pulses output at 50hz. I am hoping that will give me finer control of the wheel speed and maybe a quicker steering response.

I understand that I need to preset TMR1 with a number so that it rolls over every 20 ms. thereby triggering the interrupt. How do I figure out what that preset number should be and how do I set it using PBP?

Ken
I wonder if something like this could be made to work for you?
http://www.picbasic.co.uk/forum/showthread.php?t=7393
or
http://www.picbasic.co.uk/forum/cont...gle-Modulation)