On Tue, 1 Jul 2003, Jeremy Darling wrote: > That's exactly what I'm looking for :). I wasn't sure what to search on > so I couldn't find any example code related to servo control. By chance > do you have a link or some example code to show how to set this up? Well, if you don't mind truly, embarrassingly bad C code written several years ago by a non-programmer learning C by experimentation: http://www.botkin.org/dale/servo_tester.htm Did I put enough disclaimer on that? I do have some more servo code that's a little better. I'll try to dig it out and post it if you still need more help figuring things out. And if you visit Microchip's site, you need to download the data sheet for the PIC you're using and probably also get the Mid-Range Reference Manual which does a reasonably good job of eexplaining the timers and their uses. Basically you set a prescaler, load the timer and enable the interrupt. Hope this helps. Dale -- It's a thankless job, but I've got a lot of Karma to burn off. Get a PicoKeyer: http://www.hamgadgets.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads