Port of the Adafruit_IS31FL3731 library for Arduino. Enables control of the feather Charliewing LED Matrix peripheral board. Makes use of the I2Cdev library for I2C.
Dependencies: I2Cdev_MAX32630FTHR
Defaulty uses pinmap for the Maxim 32630FTHR Pegasus board. For a different board, change pin definitions in I2Cdev.h
Diff: Adafruit_IS31FL3731.h
- Revision:
- 3:0da61b470b86
- Parent:
- 2:de1066d7f78f
diff -r de1066d7f78f -r 0da61b470b86 Adafruit_IS31FL3731.h --- a/Adafruit_IS31FL3731.h Sat Mar 17 20:41:53 2018 +0000 +++ b/Adafruit_IS31FL3731.h Sat Mar 17 23:15:19 2018 +0000 @@ -38,7 +38,7 @@ };//, I2Cdev* theI2C=myDevI2C); bool begin(uint8_t addr = ISSI_ADDR_DEFAULT); I2Cdev* myI2C; - void drawPixel(int16_t x, int16_t y, uint16_t color); + virtual void drawPixel(int16_t x, int16_t y, uint16_t color); void clear(void); void setLEDPWM(uint8_t lednum, uint8_t pwm, uint8_t bank = 0); @@ -59,7 +59,7 @@ Adafruit_IS31FL3731_Wing():Adafruit_IS31FL3731(16,9){ //myboss = mainboss; };//I2Cdev* theI2C); - void drawPixel(int16_t x, int16_t y, uint16_t color); + virtual void drawPixel(int16_t x, int16_t y, uint16_t color); };