27 void setup()
override;
41 std::array<uint8_t, 4>
currents_{175, 175, 175, 175};
Helper class to easily give an object a parent of type T.
This Class provides the methods to read/write bytes from/to an i2c device.
void set_channel(uint8_t channel)
void write_state(float state) override
LP5562 4-channel (RGBW) I2C LED driver.
void dump_config() override
void set_channel_value_(uint8_t channel, uint8_t value)
bool logarithmic_dimming_
void set_logarithmic_dimming(bool logarithmic_dimming)
std::array< uint8_t, 4 > currents_
float get_setup_priority() const override
void set_channel_current(uint8_t channel, uint8_t current)
Current limit of a channel in steps of 0.1 mA, written to the chip in setup().
Base class for all output components that can output a variable level, like PWM.
constexpr float HARDWARE
For components that deal with hardware and are very important like GPIO switch.