Scrolling Text - Medium
Displaying "Hello" and then "World"

In this project we will be displaying the text "Hello" followed by "World" in succession one after another.

How it works:

To display the text we are following the same process we did in easy. (Drawing the text with led_matrix.text, then showing it with led_matrix.show())

However, one change we do is clear the screen of the previous text displayed using led_matrix.erase() before displaying the next piece of text and then create a delay using time.sleep(1) to allow the user to see the text for a second before the next text is displayed.

Also, to keep this going on forever we use a while loop.

Try This: