ESPHome  2024.4.2
emc2101_output.cpp
Go to the documentation of this file.
1 #include "emc2101_output.h"
2 
3 namespace esphome {
4 namespace emc2101 {
5 
6 void EMC2101Output::write_state(float state) { this->parent_->set_duty_cycle(state); }
7 
8 } // namespace emc2101
9 } // namespace esphome
void write_state(float state) override
Used by ESPHome framework.
void set_duty_cycle(float value)
Sets the Fan output duty cycle.
Definition: emc2101.cpp:109
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition: a01nyub.cpp:7
bool state
Definition: fan.h:34