Class for Adafruit LED Glasses (matrix portion).
More...
#include <Adafruit_IS31FL3741.h>
Class for Adafruit LED Glasses (matrix portion).
- Note
- This class is deprecated but provided for compatibility. New code should use the Adafruit_EyeLights classes.
◆ Adafruit_IS31FL3741_GlassesMatrix()
Adafruit_IS31FL3741_GlassesMatrix::Adafruit_IS31FL3741_GlassesMatrix |
( |
Adafruit_IS31FL3741 * |
controller | ) |
|
|
inline |
Constructor for LED glasses (matrix portion, 18x5 LEDs)
- Parameters
-
controller | Pointer to core object (underlying hardware). |
◆ 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
-
x | The x position, starting with 0 for left-most side |
y | The y position, starting with 0 for top-most side |
color | 16-bit RGB565 packed color (expands to 888 for LEDs). |
The documentation for this class was generated from the following files: