7 static const char *
const TAG =
"sm16716";
10 ESP_LOGCONFIG(TAG,
"Setting up SM16716OutputComponent...");
18 ESP_LOGCONFIG(TAG,
"SM16716:");
21 ESP_LOGCONFIG(TAG,
" Total number of channels: %u", this->
num_channels_);
22 ESP_LOGCONFIG(TAG,
" Number of chips: %u", this->
num_chips_);
28 for (uint8_t i = 0; i < 50; i++) {
33 for (uint8_t index = 0; index < this->
num_channels_; index++) {
virtual void digital_write(bool value)=0
std::vector< uint8_t > pwm_amounts_
void dump_config() override
void write_bit_(bool value)
Implementation of SPI Controller mode.
void loop() override
Send new values if they were updated.
void write_byte_(uint8_t data)