You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, so I got everything working properly but I was wondering if there is a way to make the python script wait until the servo reaches the specified position. For instance, if I wanted to make a series of moves one after another I would do like. (servo1.move(100) \n servo1.move(500)) it will continue on to 500 before it reaches 100. Is there a built-in command to make it wait? right now I am just using time.sleep and thinking about using if commands to make sure it hit the target number. Thanks in advance. (I am not using the servobus part and only the lewansoul_lx16a. If I didn't write this question in a way that makes sense I can re-word it and try and make it make more sense. Also thank you for making this code, it has been very helpful so far!
The text was updated successfully, but these errors were encountered:
Hey, so I got everything working properly but I was wondering if there is a way to make the python script wait until the servo reaches the specified position. For instance, if I wanted to make a series of moves one after another I would do like. (servo1.move(100) \n servo1.move(500)) it will continue on to 500 before it reaches 100. Is there a built-in command to make it wait? right now I am just using time.sleep and thinking about using if commands to make sure it hit the target number. Thanks in advance. (I am not using the servobus part and only the lewansoul_lx16a. If I didn't write this question in a way that makes sense I can re-word it and try and make it make more sense. Also thank you for making this code, it has been very helpful so far!
The text was updated successfully, but these errors were encountered: