|
|
@ -1,5 +1,6 @@
|
|
|
|
# SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams, written for Adafruit Industries
|
|
|
|
# SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams, written for Adafruit Industries
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
#!/usr/bin/python3
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
Be sure to check the learn guides for more usage information.
|
|
|
|
Be sure to check the learn guides for more usage information.
|
|
|
|
|
|
|
|
|
|
|
@ -22,9 +23,12 @@ pixels = neopixel.NeoPixel(
|
|
|
|
pixel_pin, pixel_width * pixel_height, brightness=0.1, auto_write=False,
|
|
|
|
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 = PixelFramebuffer(pixels, pixel_width, pixel_height, reverse_x=True,alternating=True)
|
|
|
|
pixel_framebuf.text("Hi", 3, 4, 0x00FF00)
|
|
|
|
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()
|
|
|
|
pixel_framebuf.display()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|