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