Change property name to match the library changes

This commit is contained in:
Dave Astels 2018-09-18 12:14:18 -04:00
parent 2de6f4e199
commit a246d4837c

View file

@ -22,7 +22,7 @@ servo1.angle = 90
while True:
# Read the accel
x, y, z = sensor.accelerometer
x, y, z = sensor.acceleration
# Clip the value
if y < -10: