8000 rgbmatrix.RGBMatrix with bit_depth=0 puts board in to bad state · Issue #3650 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content
rgbmatrix.RGBMatrix with bit_depth=0 puts board in to bad state #3650
Closed
@aocole

Description

@aocole

With the below code on the CIRCUITPY drive, you can put the board in to a bad state where the disk won't mount and the tty device doesn't show up, even with the board unplugged from the matrix. Tested with adafruit-circuitpython-matrixportal_m4-en_US-6.0.0-rc.1.uf2

import board
import displayio
import framebufferio
import rgbmatrix

displayio.release_displays()

matrix = rgbmatrix.RGBMatrix(
    width=64, bit_depth=0,
    rgb_pins=[
        board.MTX_R1,
        board.MTX_G1,
        board.MTX_B1,
        board.MTX_R2,
        board.MTX_G2,
        board.MTX_B2
    ],
    addr_pins=[
        board.MTX_ADDRA,
        board.MTX_ADDRB,
        board.MTX_ADDRC,
        board.MTX_ADDRD
    ],
    clock_pin=board.MTX_CLK,
    latch_pin=board.MTX_LAT,
    output_enable_pin=board.MTX_OE
)
display = framebufferio.FramebufferDisplay(matrix, auto_refresh=True)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0