Correct Motor usage in recipe

Thanks to Antonio Spadaro for pointing this out
This commit is contained in:
Ben Nuttall
2016-05-10 23:07:00 +01:00
parent ac40a6dc4e
commit 4460f8047f

View File

@@ -493,7 +493,7 @@ Spin a :class:`Motor` around forwards and backwards::
from gpiozero import Motor from gpiozero import Motor
from time import sleep from time import sleep
motor = Motor(forward=4, back=14) motor = Motor(forward=4, backward=14)
while True: while True:
motor.forward() motor.forward()