7namespace fastled_base {
9static const char *
const TAG =
"fastled";
12 ESP_LOGCONFIG(TAG,
"Running setup");
24 " Max refresh rate: %u",
38 ESP_LOGVV(TAG,
"Writing RGB values to bus");
void write_state(light::LightState *state) override
void dump_config() override
void set_max_refresh_rate(uint32_t interval_us)
Set a maximum refresh rate in µs as some lights do not like being updated too often.
CLEDController * controller_
optional< uint32_t > max_refresh_rate_
LightState * state_parent_
float get_brightness() const
Get the brightness property of these light color values. In range 0.0 to 1.0.
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
LightColorValues current_values
The current values of the light as outputted to the light.
Providing packet encoding functions for exchanging data with a remote host.
uint32_t IRAM_ATTR HOT micros()