import bibliopixel #causes frame timing information to be output bibliopixel.log.setLogLevel(bibliopixel.log.DEBUG) #Load driver for the AllPixel from bibliopixel.drivers.serial_driver import * #set number of pixels & LED type here driver = DriverSerial(num = 8*8, type = LEDTYPE.WS2812B) #load the LEDMatrix class from bibliopixel.led import * #change rotation, vert_flip, and serpentine as needed by your display led = LEDMatrix(driver, rotation = MatrixRotation.ROTATE_0, vert_flip = False, serpentine = True) #load matrix calibration test animation from bibliopixel.animation import MatrixCalibrationTest anim = MatrixCalibrationTest(led) try: #run the animation anim.run() except KeyboardInterrupt: #Ctrl+C will exit the animation and turn the LEDs offs led.all_off() led.update()