Commit 6d7c206d authored by Aadil M. Alli's avatar Aadil M. Alli

Update 1_right.py

parent aaf0d5d0
...@@ -7,9 +7,10 @@ from TRSensors import TRSensor ...@@ -7,9 +7,10 @@ from TRSensors import TRSensor
import time import time
Ab = AlphaBot2() Ab = AlphaBot2()
Ab.right() Ab.right()
print('right') print('right')
try:
while True:
time.sleep(1)
except KeyboardInterrupt:
GPIO.cleanup()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment