ESPHome 2025.5.2
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
tlc5971_output.cpp
Go to the documentation of this file.
1#include "tlc5971_output.h"
2
3namespace esphome {
4namespace 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
bool state
Definition fan.h:0
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7