ESPHome
2026.6.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::i2c_device
{
7
8
class
I2CDeviceComponent
:
public
Component
,
public
i2c::I2CDevice
{
9
public
:
10
void
dump_config
()
override
;
11
12
protected
:
13
};
14
15
}
// namespace esphome::i2c_device
esphome::Component
Definition
component.h:145
esphome::i2c::I2CDevice
This Class provides the methods to read/write bytes from/to an i2c device.
Definition
i2c.h:132
esphome::i2c_device::I2CDeviceComponent
Definition
i2c_device.h:8
esphome::i2c_device::I2CDeviceComponent::dump_config
void dump_config() override
Definition
i2c_device.cpp:10
component.h
i2c.h
esphome::i2c_device
Definition
i2c_device.cpp:6
Generated by
1.12.0