11 namespace addressable_light {
42 void setup()
override;
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
optional< std::function< int(int, int)> > pixel_mapper_f_
int get_height_internal() override
light::AddressableLight * light_
void set_pixel_mapper(std::function< int(int, int)> &&pixel_mapper_f)
std::string get_effect_name()
Return the name of the current effect, or if no effect is active "None".
void set_light(light::LightState *state)
display::DisplayType get_display_type() override
LightOutput * get_output() const
Get the light output associated with this object.
void set_width(int32_t width)
optional< std::string > last_effect_
int get_width_internal() override
light::LightState * light_state_
void set_enabled(bool enabled)
LightCall & set_effect(optional< std::string > effect)
Set the effect of the light by its name.
Implementation of SPI Controller mode.
light::AddressableLight * get_light() const
void set_height(int32_t height)
void draw_absolute_pixel_internal(int x, int y, Color color) override
std::vector< Color > addressable_light_buffer_