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