This commit is contained in:
2024-12-25 22:52:10 +01:00
parent 65247a1249
commit acff12d123
12 changed files with 0 additions and 0 deletions

11
old_stuff/testwalk3.py Normal file
View File

@@ -0,0 +1,11 @@
import time
from adafruit_servokit import ServoKit
kit = ServoKit(channels=16)
kit.servo[12].set_pulse_width_range(1000, 2000)
kit.servo[12].actuation_range = 200
while True:
channel = int(input("Channel:\n"))
pos = int(input("Position: \n"))
kit.servo[channel].angle = pos