Skip to content

Instantly share code, notes, and snippets.

@jgamblin
Created November 12, 2019 21:31
Show Gist options
  • Save jgamblin/e5a576156d6141f1e445339c060d5d32 to your computer and use it in GitHub Desktop.
Save jgamblin/e5a576156d6141f1e445339c060d5d32 to your computer and use it in GitHub Desktop.
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