Skip to content

Instantly share code, notes, and snippets.

@boxalljohn
Created August 1, 2013 04:27
Show Gist options
  • Save boxalljohn/6128406 to your computer and use it in GitHub Desktop.
Save boxalljohn/6128406 to your computer and use it in GitHub Desktop.
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