On Thu, Sep 8, 2011 at 6:28 PM, Tamas Rudnai wrote= : > It is pretty easy to do, you just need to send a 1ms pulse for the lowest > position, 2ms for the highest, 1.5ms for the middle etc. You have to send > that pulse at every 20ms (you do not need to be very precise with this on= e, > it can be 15ms or 25ms, it will work, the only thing you need to be tight= is > the pulse width) Almost like a PWM except the duty cycle is always in > between 1% - 2%... Pretty easy to do so. > > There are loads of example, usually if you search for something like "ser= vo > tester PIC 18F"... For example: > > http://www.instructables.com/id/Use-a-PIC-Microcontroller-to-Control-a-Ho= bby-Servo/ > > The source is in C but it might give you some idea especially with readin= g > the description - and then I am pretty sure you will be able to do it by > yourself. Hi Tamas, I've spent a bunch of time searching but haven't found much that's enlightening. My problem with projects like the one you linked to is that because their only purpose is to drive the servo, they aren't written to do much else, and they don't take advantage of the peripherals present in the chip. I guess I'm being picky! I am going to try just writing my own, hopefully it won't go too badly :) Josh --=20 A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. =A0 =A0 =A0 =A0 -Douglas Adams --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .