Commit 1210b5da authored by Aadil M. Alli's avatar Aadil M. Alli

Upload New File

parent 48068544
#!/usr/bin/python
# -*- coding:utf-8 -*-
import RPi.GPIO as GPIO
from AlphaBot2 import AlphaBot2
from rpi_ws281x import Adafruit_NeoPixel, Color
from TRSensors import TRSensor
import time
Ab = AlphaBot2()
Ab.left()
print('left')
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