1_template 368 Bytes
Newer Older
Aadil M. Alli's avatar
Aadil M. Alli committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#!/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()

# ====================|
# Put your code here  |
# ====================|


try:
    while True:
        time.sleep(1)
except KeyboardInterrupt:
    GPIO.cleanup()