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
This project uses two 16x8 1.2" LED Matrix + Backpacks stuck together to make a 32x8 double-length matrix.
main.cpp
- Committer:
- maclobdell
- Date:
- 2016-12-15
- Revision:
- 0:2eec8a9428ea
- Child:
- 1:dd1d1b64b9a5
File content as of revision 0:2eec8a9428ea:
#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); } } } }