ESPHome 2025.5.0
Loading...
Searching...
No Matches
mcp47a1.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome {
8namespace mcp47a1 {
9
10class 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
This Class provides the methods to read/write bytes from/to an i2c device.
Definition i2c.h:133
void write_state(float state) override
Definition mcp47a1.cpp:15
void dump_config() override
Definition mcp47a1.cpp:10
Base class for all output components that can output a variable level, like PWM.
bool state
Definition fan.h:0
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7