PIC - read a PPM servo signal
Posted 23 October 2006 - 08:11 PM
Would anyone happen to have some code to get me on the right path?
Posted 24 October 2006 - 05:29 AM
I wrote a program for a car speed controller on a 16c71 about 10 years back, not 100% sure of the details but I set it so the incomming pulse would reset the RTCC and the end of pulse would read the RTCC and store the value. This wasted half the count as the first 1ms never changes but still left 128 steps for the controller. Im sure you could cascade the counter to gain more steps if you need them.
Posted 24 October 2006 - 03:41 PM
Thank you for the response. I really am just looking for code for an idea how to programatically go about reading the times. I'm not quite sure where to start so its a little hard to write my own I work as a software developer so code rarely confuses me I haven't done a great deal of programming on PIC systems so i'm still a newb as far as it goes.
Posted 24 October 2006 - 11:27 PM