23 class TLC59208FOutput;
44 void setup()
override;
45 void dump_config()
override;
53 if (this->pwm_amounts_[channel] != value)
55 this->pwm_amounts_[channel] = value;
60 uint8_t min_channel_{0xFF};
61 uint8_t max_channel_{0x00};
62 uint8_t pwm_amounts_[256] = {
void set_channel(uint8_t channel)
Base class for all output components that can output a variable level, like PWM.
const uint8_t TLC59208F_MODE2_WDT_5MS
const uint8_t TLC59208F_MODE2_WDT_15MS
void write_state(float state) override
BedjetMode mode
BedJet operating mode.
float get_setup_priority() const override
const uint8_t TLC59208F_MODE2_WDTEN
TLC59208F float output component.
const float HARDWARE
For components that deal with hardware and are very important like GPIO switch.
const uint8_t TLC59208F_MODE2_WDT_25MS
const uint8_t TLC59208F_MODE2_OCH
const uint8_t TLC59208F_MODE2_DMBLNK
Implementation of SPI Controller mode.
const uint8_t TLC59208F_MODE2_WDT_35MS
This Class provides the methods to read/write bytes from/to an i2c device.
Helper class to easily give an object a parent of type T.
void set_channel_value_(uint8_t channel, uint8_t value)
TLC59208FOutput(uint8_t mode=TLC59208F_MODE2_OCH)