Scroll Test Upload

This commit is contained in:
jhealy
2021-01-03 17:21:15 -05:00
parent fee88ee50f
commit 9aa9c7af08
4 changed files with 3617 additions and 2 deletions

3588
Scroll_Pi_Text.py Normal file

File diff suppressed because it is too large Load Diff

29
Scroll_Pi_Text.py.save Normal file
View File

@@ -0,0 +1,29 @@
#!/usr/bin/python3
"""
Be sure to check the learn guides for more usage information.
This example is for use on (Linux) computers that are using CPython with
Adafruit Blinka to support CircuitPython libraries. CircuitPython does
not support PIL/pillow (python imaging library)!
Author(s): Melissa LeBlanc-Williams for Adafruit Industries
"""
import board
import neopixel
from PIL import Image
from adafruit_pixel_framebuf import PixelFramebuffer
pixel_pin = board.D18
pixel_width = 8
pixel_height = 16
pixels = neopixel.NeoPixel(
pixel_pin, pixel_width * pixel_height, brightness=0.1, auto_write=False,
)
pixel_framebuf = PixelFramebuffer(pixels, pixel_width, pixel_height, reverse_x=True,alternating=True)
pixel_framebuf.fill(0x000000)
pixel_framebuf.display()
pixel_framebuf.text("H", 0, 0, 0x00FF00)
pixel_framebuf.display()
pixel_framebuf.text("i", 0, 8, 0x00FF00)
pixel_framebuf.display()

View File

@@ -32,5 +32,3 @@ pixel_framebuf.display()

View File