9 namespace spi_led_strip {
11 static const char *
const TAG =
"spi_led_strip";
13 public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_HIGH, spi::CLOCK_PHASE_TRAILING,
14 spi::DATA_RATE_1MHZ> {
17 void setup()
override;
float get_setup_priority() const override
void write_state(light::LightState *state) override
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
light::LightTraits get_traits() override
The SPIDevice is what components using the SPI will create.
SpiLedStrip(uint16_t num_leds)
int32_t size() const override
This class is used to represent the capabilities of a light.
light::ESPColorView get_view_internal(int32_t index) const override
const float IO
For components that represent GPIO pins like PCF8573.
Implementation of SPI Controller mode.
void dump_config() override
void clear_effect_data() override