Change property name to match the library changes
This commit is contained in:
parent
2de6f4e199
commit
a246d4837c
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue