Servo motor example code Needed

Status
Not open for further replies.

cardine

New Member
Hi

I want to control a servo motor with a PIC18F1320, using a JDM programmer and C. My purpose is to make the servo motor do a series of preprogrammed moves.

Until now I haven't programed any PIC, and I can't find an example code, the only codes I could find are in picbasic and are useless to me

This is the circuit schematic
**broken link removed**

I appreciate all the help you can give
 
Yes, it reads a pot on AN1 and outputs the pulse on B3. Both are easy to change. It also uses the internal oscillator and so no crystal is required.

Mike.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…