Example application for two 16x8 Adafruit LED Backpacks to make a 32 x 8 matrix.

Dependencies:   Adafruit_32x8matrix

Fork of Adafruit_LEDBackpack_16x8_App by Mac Lobdell

/media/uploads/maclobdell/austin_iot_lab.jpg

This project uses two 16x8 1.2" LED Matrix + Backpacks stuck together to make a 32x8 double-length matrix.

Revision:
7:1bd79d71396a
Parent:
6:8d2eb79a4baf
Child:
8:5f5ceafa826d
--- a/main.cpp	Wed Jun 28 19:27:51 2017 +0000
+++ b/main.cpp	Wed Jun 28 19:44:15 2017 +0000
@@ -19,10 +19,25 @@
 int main() {
 
     char buffer [50];
-    sprintf (buffer, "Welcome\0");
 
     Thread::attach_idle_hook(myidlethread);
- 
+
+    sprintf(buffer, "This\0");
+    matrix.showText(buffer,strlen(buffer), 1);
+    
+    sprintf(buffer, "is\0");
+    matrix.showText(buffer,strlen(buffer), 1);
+    
+    sprintf(buffer, "the\0");
+    matrix.showText(buffer,strlen(buffer), 1);        
+    
+    sprintf (buffer, "IoT Lab\0");
+    matrix.scrollText(buffer,strlen(buffer), 100);
+
+    Thread::wait(1000);
+        
+    sprintf(buffer, "Welcome\0");
+                
     while(1)
     {
         matrix.scrollText(buffer,strlen(buffer), 80);