#Load driver for your hardware, visualizer just for example
from bibliopixel.drivers.visualizer import Visualizer
driver = Visualizer(width = 10, height = 10, stayTop = True)

#load the Matrix class
from bibliopixel.led import *
#change rotation and vert_flip as needed by your display
led = Matrix(driver, rotation = MatrixRotation.ROTATE_0, vert_flip = False)

#load calibration test animation
from bibliopixel.animation import MatrixCalibrationTest
anim = MatrixCalibrationTest(led)

try:
	anim.run()
except KeyboardInterrupt:
	led.all_off()
	led.update()

#Load driver for your hardware, visualizer just for example
from bibliopixel.drivers.visualizer import Visualizer
driver = Visualizer(width = 10, height = 10, stayTop = True)

#load the Matrix class
from bibliopixel.led import *
#change rotation and vert_flip as needed by your display
led = Matrix(driver, rotation = MatrixRotation.ROTATE_0, vert_flip = False)

#load calibration test animation
from bibliopixel.animation import MatrixCalibrationTest
anim = MatrixCalibrationTest(led)

try:
	anim.run()
except KeyboardInterrupt:
	led.all_off()
	led.update()

#Load driver for your hardware, visualizer just for example #load the Matrix class #change rotation and vert_flip as needed by your display #load calibration test animation