add test file

This commit is contained in:
Cole Deck 2023-05-09 13:48:12 -05:00
parent 5d0571abfa
commit e329c893d7

View File

@ -0,0 +1,16 @@
import maestro
servo = maestro.Controller()
import time
print("1")
for i in range(18):
servo.setAccel(i,10) #set servo 0 acceleration to 4
servo.setSpeed(i,50) #set speed of servo 1
servo.setTarget(i,6000) #set servo to move to center position
time.sleep(1)
#servo.setTarget(0,6000)
#x = servo.getPosition(1) #get the current position of servo 1
print("5")
#servo.close()
print("6")