ESPHome  2024.6.1
mcp47a1.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 namespace esphome {
8 namespace mcp47a1 {
9 
10 class MCP47A1 : public Component, public output::FloatOutput, public i2c::I2CDevice {
11  public:
12  void dump_config() override;
13  void write_state(float state) override;
14 };
15 
16 } // namespace mcp47a1
17 } // 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
Definition: mcp47a1.cpp:15
void dump_config() override
Definition: mcp47a1.cpp:10
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition: a01nyub.cpp:7
This Class provides the methods to read/write bytes from/to an i2c device.
Definition: i2c.h:133
bool state
Definition: fan.h:34