Adafruit IS31FL3741 Library
|
Class for Adafruit LED Glasses (right ring). More...
#include <Adafruit_IS31FL3741.h>
Public Member Functions | |
Adafruit_IS31FL3741_GlassesRightRing (Adafruit_IS31FL3741 *controller) | |
Constructor for glasses right LED ring. More... | |
![]() | |
Adafruit_IS31FL3741_GlassesRing (Adafruit_IS31FL3741 *controller, bool isRight) | |
Constructor for 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 glasses ring. More... | |
void | fill (uint32_t color) |
Fill all pixels of one glasses ring to same color. 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 * | _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).
|
inline |
Constructor for glasses right LED ring.
controller | Pointer to Adafruit_IS31FL3741 object. |