mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
Update e131_addressable_light_effect.h
This commit is contained in:
parent
8ef4aaa70e
commit
03b2d3f9d3
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,7 @@ class E131AddressableLightEffect : public light::AddressableLightEffect {
|
|||
|
||||
void set_first_universe(int universe) { this->first_universe_ = universe; }
|
||||
void set_channels(E131LightChannels channels) { this->channels_ = channels; }
|
||||
void set_channel_offset(int offset) { this->channel_offset_ = offset; }
|
||||
void set_e131(E131Component *e131) { this->e131_ = e131; }
|
||||
|
||||
protected:
|
||||
|
@ -34,6 +35,7 @@ class E131AddressableLightEffect : public light::AddressableLightEffect {
|
|||
|
||||
int first_universe_{0};
|
||||
int last_universe_{0};
|
||||
int channel_offset_{0};
|
||||
E131LightChannels channels_{E131_RGB};
|
||||
E131Component *e131_{nullptr};
|
||||
|
||||
|
|
Loading…
Reference in a new issue