This is a library for the Adafruit LED Backpacks. This library works with the Adafruit Mini 8x8 and the Adafruit 16x8 LED Matrix backpacks.
Fork of Adafruit_LEDBackpack by
Diff: Adafruit_LEDBackpack.h
- Revision:
- 2:caaae61819a4
- Parent:
- 1:f066d5347c60
diff -r f066d5347c60 -r caaae61819a4 Adafruit_LEDBackpack.h --- a/Adafruit_LEDBackpack.h Fri Aug 16 15:44:44 2013 +0000 +++ b/Adafruit_LEDBackpack.h Tue Mar 24 17:35:22 2015 +0000 @@ -64,11 +64,20 @@ uint8_t i2c_addr; }; +class Adafruit_8x16matrix : public Adafruit_LEDBackpack, public Adafruit_GFX { + public: + Adafruit_8x16matrix(I2C *i2c); + + virtual void drawPixel(int16_t x, int16_t y, uint16_t color); + + private: +}; + class Adafruit_8x8matrix : public Adafruit_LEDBackpack, public Adafruit_GFX { public: Adafruit_8x8matrix(I2C *i2c); - void drawPixel(int16_t x, int16_t y, uint16_t color); + virtual void drawPixel(int16_t x, int16_t y, uint16_t color); private: }; \ No newline at end of file