12 public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_HIGH,
13 spi::CLOCK_PHASE_TRAILING, spi::DATA_RATE_1MHZ> {
16 void setup()
override;
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.
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.
The SPIDevice is what components using the SPI will create.
float get_setup_priority() const override
light::LightTraits get_traits() override
int32_t size() const override
light::CorrectedBufferColorAccessor internal_accessor_
void dump_config() override
void clear_effect_data() override
void write_state(light::LightState *state) override
SpiLedStrip(uint16_t num_leds)
constexpr float IO
For components that represent GPIO pins like PCF8573.
ESPHOME_LOG_TAG(TAG, "spi_led_strip")
static constexpr uint8_t RESERVED_WHITE
Value of w for an RGB LED strip that uses 4 bytes per led where the 4th byte is reserved.