Skip to content

Instantly share code, notes, and snippets.

@jgamblin
Created November 12, 2019 21:31
Embed
What would you like to do?
AllPixel Board To Scroll Text Message.
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