ESPHome  2024.12.2
i2c_device.h
Go to the documentation of this file.
1 #pragma once
2 
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  float get_setup_priority() const override { return setup_priority::DATA; }
13 
14  protected:
15 };
16 
17 } // namespace i2c_device
18 } // namespace esphome
const float DATA
For components that import data from directly connected sensors like DHT.
Definition: component.cpp:19
float get_setup_priority() const override
Definition: i2c_device.h:12
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
This Class provides the methods to read/write bytes from/to an i2c device.
Definition: i2c.h:133