27 LedDriver(
int numLeds,
bool hasGlobalBrightnessControl,
bool hasIndividualBrightnessControl);
52 void brightness(
double value);
55 double _brightness = 0.0;
57 virtual void setGlobalBrightness(
double _brightness) = 0;
63 virtual void ledStateChanged(
Led led) = 0;
69 virtual void ledBrightnessChanged(
Led led) = 0;
Represents any object that has a flushable interface.
Definition: Flushable.h:9
Represents a single LED that may or may not have _brightness control
Definition: Led.h:22
Definition: Ads1115Registers.h:10
Base class that all LED drivers inherit from.
Definition: LedDriver.h:18
vector< Led > leds
The collection of LEDs that belong to this driver.
Definition: LedDriver.h:32
const bool hasIndividualBrightnessControl
Gets or sets whether this controller's LEDs have individual _brightness control (through PWM or other...
Definition: LedDriver.h:42
const bool hasGlobalBrightnessControl
Gets or sets whether this controller supports global _brightness control.
Definition: LedDriver.h:37
#define LIBRARIES_API
Definition: Treehopper.Libraries.h:17