ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
dfrobot_sen0465_uart.h
Go to the documentation of this file.
1#pragma once
2
5
7
9 public uart::UARTDevice {
10 public:
11 using DFRobotSEN0465Component::DFRobotSEN0465Component;
12
13 void setup() override;
14 void loop() override;
15
16 protected:
17 bool write_frame(const uint8_t *frame) override;
18 void read_response() override;
19
20 uint8_t rx_buffer_[dfrobot_sen0465_base::FRAME_SIZE];
21 uint8_t rx_count_{0};
22};
23
24} // namespace esphome::dfrobot_sen0465_uart
DFRobot "Factory Calibrated Electrochemical Gas Sensor" series (SEN0465 to SEN0476).