ESPHome  2022.6.3
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
Definition: a4988.cpp:4
bool state
Definition: fan.h:34