Society of Robots - Robot Forum
Software => Software => Topic started by: airman00 on November 15, 2007, 09:46:47 PM
-
How much pause should I allow before ( or after) pulsing out a servo command?
How much pause should I allow for an LCD to initialize?
and theoretically, If i were to send a pulse of 160 to servo1 and then immediately after send a pulse to servo1 of 190 , wouldn't the pulse be affected and changed to a pulse that is not 160 or 190?
Also, If I give a pulse of 150 and then clear the output and then give a pulse of 160, wouldn't the pulse given out be messed up?
P.S. I have created working code , but I'm just looking to see the "right" way of doing things.
Thanks,
Eric
-
It depends on the servo . . . whether it is digital/analog, etc . . .
About 10 to 20 ms is sufficient for me - less than that and the servos start spassing . . .
I like to do this:
loop 3 times:
servo1_hi();
delay(time);
servo1_low();
//other servos go here too
delay(about 10ms);//delay can be less for each servo being commanded