Commit ecb3a525 authored by Aadil M. Alli's avatar Aadil M. Alli

Upload New File

parent afd902a2
#!/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.backward()
print('backward')
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