Adafruit IS31FL3741 Library
Public Member Functions | Protected Attributes | List of all members
Adafruit_IS31FL3741_GlassesMatrix Class Reference

Class for Adafruit LED Glasses (matrix portion). More...

#include <Adafruit_IS31FL3741.h>

Inheritance diagram for Adafruit_IS31FL3741_GlassesMatrix:

Public Member Functions

 Adafruit_IS31FL3741_GlassesMatrix (Adafruit_IS31FL3741 *controller)
 Constructor for LED glasses (matrix portion, 18x5 LEDs) More...
 
void drawPixel (int16_t x, int16_t y, uint16_t color)
 Adafruit GFX low level accessor - sets an RGB pixel value, handles rotation and pixel arrangement, unlike setLEDPWM. More...
 

Protected Attributes

Adafruit_IS31FL3741_is31 = NULL
 Pointer to core object.
 

Detailed Description

Class for Adafruit LED Glasses (matrix portion).

Note
This class is deprecated but provided for compatibility. New code should use the Adafruit_EyeLights classes.

Constructor & Destructor Documentation

◆ Adafruit_IS31FL3741_GlassesMatrix()

Adafruit_IS31FL3741_GlassesMatrix::Adafruit_IS31FL3741_GlassesMatrix ( Adafruit_IS31FL3741 controller)
inline

Constructor for LED glasses (matrix portion, 18x5 LEDs)

Parameters
controllerPointer to core object (underlying hardware).

Member Function Documentation

◆ drawPixel()

void Adafruit_IS31FL3741_GlassesMatrix::drawPixel ( int16_t  x,
int16_t  y,
uint16_t  color 
)

Adafruit GFX low level accessor - sets an RGB 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
color16-bit RGB565 packed color (expands to 888 for LEDs).

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