ESPHome
2026.11.0-dev
Loading...
Searching...
No Matches
esphome
components
dfrobot_sen0465_i2c
dfrobot_sen0465_i2c.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/components/dfrobot_sen0465_base/dfrobot_sen0465_base.h
"
4
#include "
esphome/components/i2c/i2c.h
"
5
6
namespace
esphome::dfrobot_sen0465_i2c
{
7
8
class
DFRobotSEN0465I2CComponent
final :
public
dfrobot_sen0465_base::DFRobotSEN0465Component
,
public
i2c::I2CDevice
{
9
public
:
10
using
DFRobotSEN0465Component::DFRobotSEN0465Component;
11
12
void
dump_config
()
override
;
13
14
protected
:
15
bool
write_frame
(
const
uint8_t *frame)
override
;
16
void
read_response
()
override
;
17
};
18
19
}
// namespace esphome::dfrobot_sen0465_i2c
esphome::dfrobot_sen0465_base::DFRobotSEN0465Component
DFRobot "Factory Calibrated Electrochemical Gas Sensor" series (SEN0465 to SEN0476).
Definition
dfrobot_sen0465_base.h:32
esphome::dfrobot_sen0465_i2c::DFRobotSEN0465I2CComponent
Definition
dfrobot_sen0465_i2c.h:8
esphome::dfrobot_sen0465_i2c::DFRobotSEN0465I2CComponent::write_frame
bool write_frame(const uint8_t *frame) override
Definition
dfrobot_sen0465_i2c.cpp:21
esphome::dfrobot_sen0465_i2c::DFRobotSEN0465I2CComponent::read_response
void read_response() override
Definition
dfrobot_sen0465_i2c.cpp:25
esphome::dfrobot_sen0465_i2c::DFRobotSEN0465I2CComponent::dump_config
void dump_config() override
Definition
dfrobot_sen0465_i2c.cpp:16
esphome::i2c::I2CDevice
This Class provides the methods to read/write bytes from/to an i2c device.
Definition
i2c.h:144
dfrobot_sen0465_base.h
i2c.h
esphome::dfrobot_sen0465_i2c
Definition
dfrobot_sen0465_i2c.cpp:4
Generated by
1.12.0