Hi Could someone please send me all the code to drive two servos... kidding.
But seriously, Im currently using a Pic16F877a and im trying to implement PWM. I Know I probably should have gone with a PIC with PWM built in but I've done all my previous work with a Motoroal 68HC11 which didn't have PWM built in but had enough interupts and timers to implement it without overly affecting my main code.
I know I can obviously do it just by using delays, but I cant figure out how the timers work in Pics. If anyone could help it would be greatly appreciated. I really just want to know what the best solution is to be able to drive say between 2 and 4 hobby servos and still have a bunch of other cope running.
P.S. Im using assembly language and a 4mhz crystal if that helps.
Thank.
But seriously, Im currently using a Pic16F877a and im trying to implement PWM. I Know I probably should have gone with a PIC with PWM built in but I've done all my previous work with a Motoroal 68HC11 which didn't have PWM built in but had enough interupts and timers to implement it without overly affecting my main code.
I know I can obviously do it just by using delays, but I cant figure out how the timers work in Pics. If anyone could help it would be greatly appreciated. I really just want to know what the best solution is to be able to drive say between 2 and 4 hobby servos and still have a bunch of other cope running.
P.S. Im using assembly language and a 4mhz crystal if that helps.
Thank.