The definitive servo control link: http://www.merlotti.com/EngHome/Comp...controller.pdf. This PDF explains mechanics, electronics, and control... with line by line description of how and what is happening and why. It goes over interrupts, serial input to controller from PC, and about every other thing you'd likely want to know. If you EVER intend to control a servo, I'd suggest downloading this 18 page, easy to follow, tutorial/ primer.
The author states the code is in Mikro-Pascal - and that may be, I don't know Pascal, but it is so close in appearance to PicBasic that I had to look twice...
Bookmarks