Adafruit IS31FL3731 Library
Public Member Functions | List of all members
Adafruit_IS31FL3731_Wing Class Reference

Constructor for FeatherWing IS31FL3731 version. More...

#include <Adafruit_IS31FL3731.h>

Inheritance diagram for Adafruit_IS31FL3731_Wing:
Adafruit_IS31FL3731

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...
 
- Public Member Functions inherited from Adafruit_IS31FL3731
 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

- Protected Member Functions inherited from Adafruit_IS31FL3731
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...
 
- Protected Attributes inherited from Adafruit_IS31FL3731
uint8_t _frame
 The frame (of 8) we are currently addressing.
 

Detailed Description

Constructor for FeatherWing IS31FL3731 version.

Member Function Documentation

◆ drawPixel()

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.

Parameters
xThe x position, starting with 0 for left-most side
yThe y position, starting with 0 for top-most side
colorDespite being a 16-bit value, takes 0 (off) to 255 (max on)

The documentation for this class was generated from the following files: