ESPHome  2024.5.0
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
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition: a01nyub.cpp:7
void write_state(float state) override
bool state
Definition: fan.h:34