#!/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()