move python code snippets to python folder

This commit is contained in:
2019-06-22 22:50:39 +10:00
parent b76f2e25bd
commit 2c8848211b
13 changed files with 0 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
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