We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e61c537 commit ca5cafcCopy full SHA for ca5cafc
README.rst
@@ -37,7 +37,6 @@ Usage Example
37
.. code:: python
38
39
import time
40
- import random
41
import board
42
import terminalio
43
from adafruit_matrixportal.matrixportal import MatrixPortal
@@ -52,20 +51,13 @@ Usage Example
52
51
scrolling=True,
53
)
54
55
- # Static 'Connecting' Text
56
- matrixportal.add_text(
57
- text_font=terminalio.FONT,
58
- text_position=(2, (matrixportal.graphics.display.height // 2) - 1),
59
- )
60
-
61
SCROLL_DELAY = 0.03
62
63
contents = [
64
{ 'text': 'THIS IS RED', 'color': '#cf2727'},
65
{ 'text': 'THIS IS BLUE', 'color': '#0846e4'},
66
]
67
68
- matrixportal.set_text(" ", 1)
69
while True:
70
for content in contents:
71
matrixportal.set_text(content['text'])
0 commit comments