ESPHome
2025.9.0-dev
Loading...
Searching...
No Matches
esphome
components
i2c_device
i2c_device.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/component.h
"
4
#include "
esphome/components/i2c/i2c.h
"
5
6
namespace
esphome
{
7
namespace
i2c_device {
8
9
class
I2CDeviceComponent
:
public
Component
,
public
i2c::I2CDevice
{
10
public
:
11
void
dump_config
()
override
;
12
13
protected
:
14
};
15
16
}
// namespace i2c_device
17
}
// namespace esphome
esphome::Component
Definition
component.h:71
esphome::i2c::I2CDevice
This Class provides the methods to read/write bytes from/to an i2c device.
Definition
i2c.h:133
esphome::i2c_device::I2CDeviceComponent
Definition
i2c_device.h:9
esphome::i2c_device::I2CDeviceComponent::dump_config
void dump_config() override
Definition
i2c_device.cpp:11
component.h
i2c.h
esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition
a01nyub.cpp:7
Generated by
1.12.0