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:
0:2eec8a9428ea
Child:
1:dd1d1b64b9a5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Dec 15 17:43:32 2016 +0000
@@ -0,0 +1,21 @@
+#include "mbed.h"
+#include "Adafruit_LEDBackpack.h"
+#include "Adafruit_GFX.h"
+ 
+I2C i2c(D14, D15);
+ 
+Adafruit_16x8matrix matrix = Adafruit_16x8matrix(&i2c);
+ 
+int main() {
+    matrix.begin(0x70);
+    while(1) {
+        matrix.clear();
+        for (int i = 0; i < 16; i++) {
+          for (int j = 0; j < 16; j++) {
+              matrix.drawPixel(i, j, LED_ON);  
+              matrix.writeDisplay();  // write the changes we just made to the display
+              Thread::wait(100);
+          }
+        }
+    }
+}
\ No newline at end of file