# CONTROLLING THE SERVO CONTROLLER

Status
Not open for further replies.

#### grindylow

##### Newbie level 6
Hey guys, I just bought a servo controller from a local store here and I don't know what seems to be the problem on my code that it just won't work. If you have some spare time would you be willing to take a look on this?
Here is the manual:
https://www.e-gizmo.com/KIT/images/servokit/ServoController.pdf
and here is my code:
Code:
EN2=0;
Nop();
Nop();
Nop();
for(i=0;i<16;i++) {
DATA=0;
DATA=1;
CLK=0;
while(ACK);
CLK=1;
while(!ACK);
Nop();
Nop();
Nop();
}
EN2=1;

Status
Not open for further replies.

Replies
23
Views
10K
Replies
1
Views
2K
Replies
0
Views
3K
Replies
4
Views
739
Replies
3
Views
2K