RGBMatrix not displaying static text

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
tom2021
 
Posts: 49
Joined: Tue Dec 28, 2021 9:07 am

RGBMatrix not displaying static text

Post by tom2021 »

Using a Feather M4 Express and 64x32 RGBMatrix with Circuit Python to display some text, however it just displays the circuit python default.

Code: Select all

import board
import displayio
import framebufferio
import rgbmatrix
import terminalio
from adafruit_display_text import label

displayio.release_displays()

matrix = rgbmatrix.RGBMatrix(
	width = 64,
	height = 32,
	bit_depth = 1,
	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)

line = label.Label(terminalio.FONT, color = 0xFF0000, text = "Hello World")
line.x = 1
line.y = 1

group = displayio.Group()
group.append(line)
display.show(group)

while true:
	pass
What is displayed:
example.jpeg
example.jpeg (249.79 KiB) Viewed 95 times

User avatar
tom2021
 
Posts: 49
Joined: Tue Dec 28, 2021 9:07 am

Re: RGBMatrix not displaying static text

Post by tom2021 »

sorted it the rgb and addr pins in wrong order.

Is the python supposed to show up each time you start the matrix? can it be turned off?

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: RGBMatrix not displaying static text

Post by adafruit_support_carter »

Yes, it will show the CircuitPython REPL until you explicitly run code to show something else.
https://circuitpython.readthedocs.io/en ... splay.show

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”