alexisjm_04
Newbie level 5
- Joined
- Mar 1, 2010
- Messages
- 8
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Philippines
- Activity points
- 1,339
Can any one help me to build a code using C to control a servo motor?
I got 16f877a,20xtal,PICC compiler, burner, futaba servo. I know how to blink some LED and use a puch button to turn on LEDs but I want to learn more about mcu, I want to turn the servo defending on the position of the potentiometer.
5K POT is connected on A0 of the PIC, push buttons on E0 and B0, port D will be set as output. I can learn from example using C only unfortunately. I hope that someone can make me a code so that I can get started for my project... Thanks in advance!!! I will be posting my project once it is done.
Help please!...
I got 16f877a,20xtal,PICC compiler, burner, futaba servo. I know how to blink some LED and use a puch button to turn on LEDs but I want to learn more about mcu, I want to turn the servo defending on the position of the potentiometer.
5K POT is connected on A0 of the PIC, push buttons on E0 and B0, port D will be set as output. I can learn from example using C only unfortunately. I hope that someone can make me a code so that I can get started for my project... Thanks in advance!!! I will be posting my project once it is done.
Help please!...