16 void setup()
override;
light::LightTraits get_traits() override
void clear_effect_data() override
int32_t size() const override
light::CorrectedBufferColorAccessor internal_accessor_
float get_setup_priority() const override
size_t get_buffer_size_() const
void set_led_params(uint8_t bit0, uint8_t bit1, uint32_t spi_frequency)
void set_num_leds(uint16_t num_leds)
void set_pin(uint8_t pin)
uint32_t max_refresh_rate_
void dump_config() override
void set_channel_colors(light::ChannelColors channel_colors)
void write_state(light::LightState *state) 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.
ESPColorCorrection correction_
void clear_effect_data(size_t num_leds)
Zero the effect data of the first num_leds LEDs; does nothing before the effect data is allocated.
ChannelColors channel_colors
Color accessor backed by a buffer whose contents have color correction applied.
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
This class is used to represent the capabilities of a light.
Which byte of an addressable LED's data carries each colour.
size_t bytes_per_led() const
LightTraits traits() const
Colour modes of a strip with this channel order.