Skip to content

Commit ca5cafc

Browse files
Incorporated comments from PR
1 parent e61c537 commit ca5cafc

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

README.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ Usage Example
3737
.. code:: python
3838
3939
import time
40-
import random
4140
import board
4241
import terminalio
4342
from adafruit_matrixportal.matrixportal import MatrixPortal
@@ -52,20 +51,13 @@ Usage Example
5251
scrolling=True,
5352
)
5453
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-
6154
SCROLL_DELAY = 0.03
6255
6356
contents = [
6457
{ 'text': 'THIS IS RED', 'color': '#cf2727'},
6558
{ 'text': 'THIS IS BLUE', 'color': '#0846e4'},
6659
]
6760
68-
matrixportal.set_text(" ", 1)
6961
while True:
7062
for content in contents:
7163
matrixportal.set_text(content['text'])

0 commit comments

Comments
 (0)