ESPHome  2024.10.2
tlc5947_output.cpp
Go to the documentation of this file.
1 #include "tlc5947_output.h"
2 
3 namespace esphome {
4 namespace tlc5947 {
5 
7  auto amount = static_cast<uint16_t>(state * 0xfff);
8  this->parent_->set_channel_value(this->channel_, amount);
9 }
10 
11 } // namespace tlc5947
12 } // namespace esphome
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
void write_state(float state) override
bool state
Definition: fan.h:34