19 void setup()
override;
void write_channel(uint8_t channel, float state)
void write_byte_(uint8_t data)
const uint8_t max_power_color_channels_
const uint8_t max_power_white_channels_
void write_bit_(bool value)
void write_buffer_(const uint8_t *buffer, uint8_t size)
GPIOPin *const clock_pin_
float get_setup_priority() const override
void loop() override
Send the new duty values, then sleep until write_channel() changes one.
std::array< uint16_t, 5 > pwm_amounts_
Sm10BitBase(GPIOPin *data_pin, GPIOPin *clock_pin, uint8_t max_power_color_channels, uint8_t max_power_white_channels)
constexpr float HARDWARE
For components that deal with hardware and are very important like GPIO switch.