Files
code-sandbox/servo-test.py
T
2019-06-22 22:37:24 +10:00

12 lines
238 B
Python

from adafruit_servokit import ServoKit
kit = ServoKit(channels=16)
print("hello starting")
kit.servo[0].actuation_range = 160
# angle can be 0 - 180
kit.servo[0].angle = 180
kit.servo[0].angle = 0
kit.continuous_servo[0].throttle = 1