ESPHome  2024.4.2
emc2101_output.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../emc2101.h"
5 
6 namespace esphome {
7 namespace emc2101 {
8 
11  public:
12  EMC2101Output(Emc2101Component *parent) : parent_(parent) {}
13 
14  protected:
16  void write_state(float state) override;
17 
19 };
20 
21 } // namespace emc2101
22 } // namespace esphome
Base class for all output components that can output a variable level, like PWM.
Definition: float_output.h:31
void write_state(float state) override
Used by ESPHome framework.
This class allows to control the EMC2101 output.
EMC2101Output(Emc2101Component *parent)
This class includes support for the EMC2101 i2c fan controller.
Definition: emc2101.h:29
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