This is a library for the Adafruit LED Backpacks. This library works with the Adafruit Mini 8x8.

Dependents:   CompSci335Project TritiumSim

How to use this library:

main.cpp

#include "mbed.h"
#include "Adafruit_LEDBackpack.h"
#include "Adafruit_GFX.h"

I2C i2c(p9, p10);

Adafruit_8x8matrix matrix = Adafruit_8x8matrix(&i2c);

int main() {
    matrix.begin(0x70);
    while(1) {
        matrix.clear();
        for (int i = 0; i < 8; i++) {
          for (int j = 0; j < 8; j++) {
              matrix.drawPixel(i, j, LED_ON);  
          }
        }
        matrix.writeDisplay();  // write the changes we just made to the display
        wait(60);
    }
}

History

Add licence informations default tip

2013-08-16, by luizhespanha [Fri, 16 Aug 2013 15:44:44 +0000] rev 1

Add licence informations


This is a library for the Adafruit LED Backpacks; This library works with the Adafruit Mini 8x8.

2013-08-16, by luizhespanha [Fri, 16 Aug 2013 15:41:01 +0000] rev 0

This is a library for the Adafruit LED Backpacks; This library works with the Adafruit Mini 8x8.