11 class AddressableLight;
12 class ESPRangeIterator;
28 void set(
const Color &color)
override;
29 void set(
const ESPHSVColor &color) { this->
set(color.to_rgb()); }
30 void set_red(uint8_t red)
override;
32 void set_blue(uint8_t blue)
override;
38 void lighten(uint8_t delta)
override;
39 void darken(uint8_t delta)
override;
void set_red(uint8_t red) override
void fade_to_white(uint8_t amnt) override
void set_white(uint8_t white) override
void darken(uint8_t delta) override
ESPRangeView & operator=(const Color &rhs)
ESPRangeIterator operator++()
int32_t HOT interpret_index(int32_t index, int32_t size)
ESPRangeView(AddressableLight *parent, int32_t begin, int32_t end)
ESPRangeView & operator=(const ESPHSVColor &rhs)
AddressableLight * parent_
void set_hsv(const ESPHSVColor &color)
ESPColorView operator[](int32_t index) const
void fade_to_black(uint8_t amnt) override
ESPRangeView & operator=(const ESPColorView &rhs)
void lighten(uint8_t delta) override
Implementation of SPI Controller mode.
A half-open range of LEDs, inclusive of the begin index and exclusive of the end index, using zero-based numbering.
void set_effect_data(uint8_t effect_data) override
bool operator!=(const ESPRangeIterator &other) const
void set_blue(uint8_t blue) override
ESPRangeIterator(const ESPRangeView &range, int32_t i)
void set_green(uint8_t green) override