ESPHome
2025.5.0
Loading...
Searching...
No Matches
esphome
components
a02yyuw
a02yyuw.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
5
#include "
esphome/core/component.h
"
6
#include "
esphome/components/sensor/sensor.h
"
7
#include "
esphome/components/uart/uart.h
"
8
9
namespace
esphome
{
10
namespace
a02yyuw {
11
12
class
A02yyuwComponent
:
public
sensor::Sensor
,
public
Component
,
public
uart::UARTDevice
{
13
public
:
14
// Nothing really public.
15
16
// ========== INTERNAL METHODS ==========
17
void
loop
()
override
;
18
void
dump_config
()
override
;
19
20
protected
:
21
void
check_buffer_
();
22
23
std::vector<uint8_t>
buffer_
;
24
};
25
26
}
// namespace a02yyuw
27
}
// namespace esphome
esphome::Component
Definition
component.h:70
esphome::a02yyuw::A02yyuwComponent
Definition
a02yyuw.h:12
esphome::a02yyuw::A02yyuwComponent::loop
void loop() override
Definition
a02yyuw.cpp:12
esphome::a02yyuw::A02yyuwComponent::dump_config
void dump_config() override
Definition
a02yyuw.cpp:40
esphome::a02yyuw::A02yyuwComponent::check_buffer_
void check_buffer_()
Definition
a02yyuw.cpp:24
esphome::a02yyuw::A02yyuwComponent::buffer_
std::vector< uint8_t > buffer_
Definition
a02yyuw.h:23
esphome::sensor::Sensor
Base-class for all sensors.
Definition
sensor.h:57
esphome::uart::UARTDevice
Definition
uart.h:12
component.h
esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition
a01nyub.cpp:7
sensor.h
uart.h
Generated by
1.12.0