Adafruit IS31FL3731 Library
|
Constructor for FeatherWing IS31FL3731 version. More...
#include <Adafruit_IS31FL3731.h>
Public Member Functions | |
Adafruit_IS31FL3731_Wing (void) | |
Constructor for FeatherWing version (15x7 LEDs) | |
void | drawPixel (int16_t x, int16_t y, uint16_t color) |
Adafruit GFX low level accesssor - sets a 8-bit PWM pixel value handles rotation and pixel arrangement, unlike setLEDPWM. More... | |
![]() | |
Adafruit_IS31FL3731 (uint8_t x=16, uint8_t y=9) | |
Constructor for breakout version. More... | |
bool | begin (uint8_t addr=ISSI_ADDR_DEFAULT, TwoWire *theWire=&Wire) |
Initialize hardware and clear display. More... | |
void | drawPixel (int16_t x, int16_t y, uint16_t color) |
Adafruit GFX low level accesssor - sets a 8-bit PWM pixel value handles rotation and pixel arrangement, unlike setLEDPWM. More... | |
void | clear (void) |
Sets all LEDs on & 0 PWM for current frame. | |
void | setLEDPWM (uint8_t lednum, uint8_t pwm, uint8_t bank=0) |
Low level accesssor - sets a 8-bit PWM pixel value to a bank location does not handle rotation, x/y or any rearrangements! More... | |
void | audioSync (bool sync) |
Enable the audio 'sync' for brightness pulsing (not really tested) More... | |
void | setFrame (uint8_t b) |
Set's this object's frame tracker (does not talk to the chip) More... | |
void | displayFrame (uint8_t frame) |
Have the chip set the display to the contents of a frame. More... | |
Additional Inherited Members | |
![]() | |
bool | selectBank (uint8_t bank) |
Switch to a given bank in the chip memory for future reads. More... | |
bool | writeRegister8 (uint8_t bank, uint8_t reg, uint8_t data) |
Write one byte to a register located in a given bank. More... | |
uint8_t | readRegister8 (uint8_t bank, uint8_t reg) |
Read one byte from a register located in a given bank. More... | |
![]() | |
uint8_t | _frame |
The frame (of 8) we are currently addressing. | |
Constructor for FeatherWing IS31FL3731 version.
void Adafruit_IS31FL3731_Wing::drawPixel | ( | int16_t | x, |
int16_t | y, | ||
uint16_t | color | ||
) |
Adafruit GFX low level accesssor - sets a 8-bit PWM pixel value handles rotation and pixel arrangement, unlike setLEDPWM.
x | The x position, starting with 0 for left-most side |
y | The y position, starting with 0 for top-most side |
color | Despite being a 16-bit value, takes 0 (off) to 255 (max on) |