  * the screen. The spaces between characters is already accounted for.
  */
 void scrollText() {
+   
    lm.setFont(FONT8x8);
+   
    // Loop through each character in the text[] array
-   for (int i = 0; i < sizeof(text)-1; i++) {
-
+   for (int i = 0; i < sizeof(text1)-1; i++) {
       /* 
        * For each character, call the scrollChar() function.
        * scrollChar(char, row) has 2 arguements:
        *  - character to scroll
        *  - 8x8 dot matrix display row to scroll it on (first row = 0)
        */
-      lm.scrollChar(text[i], 0);
+      lm.scrollChar(text1[i], 0);
    }
 
-   // Second example using line 2 with 5x7 font
+   // Second example using line 2 with 5x7 font (if you have a 2nd row of 8x8 displays)
    lm.setFont(FONT5x7);
-   for (int i = 0; i < sizeof(text)-1; i++) {
-      lm.scrollChar(text[i], 1);
+   for (int i = 0; i < sizeof(text2)-1; i++) {
+      lm.scrollChar(text2[i], 1);
    }
 }
 

#else
LedMatrix lm = LedMatrix(NUM_ROWS, NUM_COLS);
#endif
/* 
 * Enter the text you want to scroll. Leave a few blank spaces
 * at the end for an easy way to scroll off the screen.
*/
char text[] = "Hello World!          ";

void setup() {
   // No setup required. Some options you can set are
   lm.scrollDelay(5);      // Sets the delay for scrolling text. 0 = fastest
   lm.setIntensity(1);     // Sets the LED intensity. Default is 1.
   lm.setFont(FONT8x8);    // Sets the char font. Either FONT8x8 (default) or FONT5x7. 
}

    however, the 5x7 does not. If using the 5x7 font, you need to add 
    one to the font width.
   */
   strLength = sizeof(text4);
   lm.setFont(FONT5x7);
   for (int x = NUM_COLS * 8; x >= -strLength * (FONT5x7 + 1); x--) {  
      lm.clear();
      for (int i = 0; i < strLength-1; i++) {
         lm.printChar(text4[i], x + ((FONT5x7 + 1) * i), 8);
      }
      lm.update();
      delay(20);
   }
}
