first commit grahic protest sign code and sample graphics

This commit is contained in:
John Park 2020-06-16 16:19:09 -07:00
parent 6d6d4bfd39
commit 2e45973db7
6 changed files with 34 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

View file

@ -0,0 +1,34 @@
import board
import displayio
import framebufferio
import rgbmatrix
from adafruit_slideshow import SlideShow
displayio.release_displays()
matrix = rgbmatrix.RGBMatrix(
width=64,
height=32,
bit_depth=5,
rgb_pins=[board.D6, board.D5, board.D9, board.D11, board.D10, board.D12],
addr_pins=[board.A5, board.A4, board.A3, board.A2],
clock_pin=board.D13,
latch_pin=board.D0,
output_enable_pin=board.D1,
)
display = framebufferio.FramebufferDisplay(matrix, auto_refresh=True)
slideshow = SlideShow(
display,
backlight_pwm=None,
folder="/images",
loop=True,
order=0,
fade_effect=False,
dwell=8,
auto_advance=True,
)
while slideshow.update():
pass