6static const char *
const TAG =
"tlc5971";
19 " Number of chips: %u",
56 for (int8_t c = 11; c >= 0; c--) {
67 uint8_t startbit = 0x80;
69 bool towrite, lastmosi = !(send & startbit);
71 for (uint8_t b = startbit; b != 0; b = b >> 1) {
73 if ((lastmosi != towrite)) {
void enable_loop()
Enable this component's loop.
void disable_loop()
Disable this component's loop.
virtual void digital_write(bool value)=0
void transfer_(uint8_t send)
std::vector< uint16_t > pwm_amounts_
void set_channel_value(uint16_t channel, uint16_t value)
const uint8_t N_CHANNELS_PER_CHIP
void dump_config() override
void loop() override
Send new values if they were updated.