12namespace beken_spi_led_strip {
25 void setup()
override;
48 void set_led_params(uint8_t bit0, uint8_t bit1, uint32_t spi_frequency);
53 for (
int i = 0; i < this->
size(); i++)
light::LightTraits get_traits() override
void set_is_wrgb(bool is_wrgb)
void clear_effect_data() override
int32_t size() const override
optional< uint32_t > max_refresh_rate_
float get_setup_priority() const override
size_t get_buffer_size_() const
void set_rgb_order(RGBOrder rgb_order)
void set_led_params(uint8_t bit0, uint8_t bit1, uint32_t spi_frequency)
void set_num_leds(uint16_t num_leds)
void set_is_rgbw(bool is_rgbw)
void set_pin(uint8_t pin)
void dump_config() override
light::ESPColorView get_view_internal(int32_t index) const override
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.
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.
@ RGB_WHITE
RGB color output and a separate white output.
@ WHITE
White output only (use only if the light also has another color mode such as RGB).
Providing packet encoding functions for exchanging data with a remote host.