#!/usr/bin/python# -*- coding:utf-8 -*-importRPi.GPIOasGPIOfromAlphaBot2importAlphaBot2fromrpi_ws281ximportAdafruit_NeoPixel,ColorfromTRSensorsimportTRSensorimporttimeAb=AlphaBot2()# ====================|# Put your code here |# ====================|try:whileTrue:time.sleep(1)exceptKeyboardInterrupt:GPIO.cleanup()