-
-
Save boxalljohn/6128406 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
matrix.setRotation(0); | |
matrix.setTextSize(1); | |
matrix.setTextWrap(false); // false means nice scroll, true means each character appears, scrolls off, then repeat | |
matrix.setTextColor(LED_ON); | |
for (int8_t x=0; x>=-96; x--) // 96 is number of characters to display x 8 | |
{ | |
matrix.clear(); | |
matrix.setCursor(x,0); | |
matrix.print("Hello, world"); | |
matrix.writeDisplay(); | |
delay(100); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment