Don't ad-block us - support your favorite websites. We have safe, unobstrusive, robotics related ads that you actually want to see - see here for more.
0 Members and 1 Guest are viewing this topic.
Post your code.
You must have something causing this delay
To get a servo to hold it's position, it has to continuously get a pulse for that position
QuotePost your code.[here's the main part of the programming, without showing the #define etc, cuz its kinda long]int time=0;for(lp=0; lp<5000; lp++){ delay_ms(20); SSS; time+=20; // SSS controls each servo when it receives command in Switch, below:switch(time) { // time in mscase 2000: s1(135);break // at time = 2s, Move servo1 to 135 degreescase 6000: s2(135);break // at time = 6s, Move servo2 to 135 degrees// and so on..};}QuoteYou must have something causing this delayYea.. a delay of 20ms Thanks
for(;;){s1(135);delay_ms(20);}
That is a question for someone who knows Admin's library better.
Have you tried Webbot's library?
SSC-32 Servo controller
if you are able to control 24 servos using software PWM
because he had trouble using the axon directly.
Started by harisankarsa Mechanics and Construction
Started by Hawaii00000 Electronics
Started by Its_Friday Electronics
Started by Hasan999 Software