Skip to content

Commit 193593c

Browse files
committed
add note about font can only set once
1 parent afa4c53 commit 193593c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adafruit_max7219/matrices.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ def text(
6868
:param int xpos: x position of LED in matrix
6969
:param int ypos: y position of LED in matrix
7070
:param int bit_value: > 1 sets the text, otherwise resets
71-
:param str font_name: path to binary font file (default: "font5x8.bin")
71+
:param str font_name: path to binary font file (default: "font5x8.bin").
72+
The font can only be set once, if you want a different font you must
73+
re-initialize the matrix.
7274
"""
7375
self.framebuf.text(strg, xpos, ypos, bit_value, font_name=font_name)
7476

0 commit comments

Comments
 (0)