Adafruit IS31FL3741 Library
|
Class for Adafruit LED Glasses (right ring) with LED data being buffered on the microcontroller and sent only when show() is called. More...
#include <Adafruit_IS31FL3741.h>
Public Member Functions | |
Adafruit_IS31FL3741_GlassesRightRing_buffered (Adafruit_IS31FL3741_buffered *controller) | |
Constructor for buffered glasses right LED ring. More... | |
![]() | |
Adafruit_IS31FL3741_GlassesRing_buffered (Adafruit_IS31FL3741_buffered *controller, bool isRight) | |
Constructor for buffered glasses LED ring. Not invoked by user code; use one of the subsequent subclasses for that. More... | |
void | setPixelColor (int16_t n, uint32_t color) |
Set color of one pixel of one buffered glasses ring. No immediate effect on LEDs; must follow up with show(). More... | |
void | fill (uint32_t color) |
Fill all pixels of one glasses ring to same color. No immediate effect on LEDs; must follow up with show(). More... | |
uint8_t | numPixels (void) const |
Return number of LEDs in ring (a la NeoPixel) More... | |
void | setBrightness (uint8_t b) |
Set brightness of LED ring. This is a mathematical brightness scale applied to setPixel() colors when setting ring pixels, distinct from any value passed to setLEDscaling() functions, because matrix and rings share pixels. More... | |
Additional Inherited Members | |
![]() | |
Adafruit_IS31FL3741_buffered * | _is31 = NULL |
Pointer to core object. | |
uint16_t | _brightness = 256 |
Internally 1-256 for math. | |
const uint16_t * | ring_map |
Pointer to lookup table. | |
Class for Adafruit LED Glasses (right ring) with LED data being buffered on the microcontroller and sent only when show() is called.
|
inline |
Constructor for buffered glasses right LED ring.
controller | Pointer to Adafruit_IS31FL3741_buffered object. |