Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Latest threads

New Articles From Microcontroller Tips

Back
Top