7 #include "Adafruit_GFX.h"
8 #include "Max72xxPanel.h"
10 int numberOfHorizontalDisplays = 1;
11 int numberOfVerticalDisplays = 1;
15 char tape[] =
"Propelleruino";
19 int width = 5 + spacer;
30 for (
int i = 0 ; i < width * strlen(tape) +
matrix.width() - 1 - spacer; i++ ) {
32 matrix.doubleBuffering(
true);
36 int letter = i / width;
37 int x = (
matrix.width() - 1) - i % width;
38 int y = (
matrix.height() - 8) / 2;
40 while (
x + width - spacer >= 0 && letter >= 0 ) {
41 if ( letter < strlen(tape) ) {
42 matrix.drawChar(
x, y, tape[letter], HIGH, LOW, 1);
49 matrix.doubleBuffering(
false);