23 void setup()
override;
void set_channel_value_(uint8_t channel, uint16_t value)
void set_channel(uint8_t channel)
void write_state(float state) override
float get_setup_priority() const override
HARDWARE setup_priority.
void set_bit_depth(uint8_t bit_depth)
Base class for all output components that can output a variable level, like PWM.
MY9231OutputComponent * parent_
void set_num_channels(uint16_t num_channels)
void set_parent(MY9231OutputComponent *parent)
void set_pin_dcki(GPIOPin *pin_dcki)
MY9231 float output component.
void setup() override
Setup the MY9231.
void set_pin_di(GPIOPin *pin_di)
void send_di_pulses_(uint8_t count)
std::vector< uint16_t > pwm_amounts_
void dump_config() override
const float HARDWARE
For components that deal with hardware and are very important like GPIO switch.
void set_num_chips(uint8_t num_chips)
void write_word_(uint16_t value, uint8_t bits)
Implementation of SPI Controller mode.
void loop() override
Send new values if they were updated.
void init_chips_(uint8_t command)
uint16_t get_max_amount_() const
void send_dcki_pulses_(uint8_t count)