Created
November 12, 2019 21:31
-
-
Save jgamblin/e5a576156d6141f1e445339c060d5d32 to your computer and use it in GitHub Desktop.
AllPixel Board To Scroll Text Message.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bibliopixel | |
from bibliopixel.drivers.serial import Serial, LEDTYPE | |
driver = Serial(width=8, height=32, num=256, ledtype = LEDTYPE.WS2812B) | |
from bibliopixel import Matrix, Rotation | |
led = Matrix(driver, | |
rotation = Rotation.ROTATE_90, | |
vert_flip = True, | |
brightness=50) | |
from BiblioPixelAnimations.matrix.Text import ScrollText | |
import bibliopixel.colors as colors | |
anim = ScrollText(led, "Happy Holidays!") | |
try: | |
anim.run() | |
except KeyboardInterrupt: | |
led.all_off() | |
led.update() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment