|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Library containing the class to create a new LED light display.
|
|
|
|
|
# Library containing the class interface to create a new LED light display.
|
|
|
|
|
|
|
|
|
|
import board
|
|
|
|
|
import neopixel
|
|
|
|
@ -38,6 +38,7 @@ class LightDisplay:
|
|
|
|
|
pixel_framebuf = PixelFramebuffer(neo_pixel, pixel_width, pixel_height, reverse_x=True,alternating=True)
|
|
|
|
|
|
|
|
|
|
print ('Press Ctrl-C to quit.')
|
|
|
|
|
|
|
|
|
|
if not args.clear:
|
|
|
|
|
print('Use "-c" argument to clear LEDs on exit')
|
|
|
|
|
|
|
|
|
|