ESPHome
2024.12.2
esphome
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
uart.h
esphome::a02yyuw::A02yyuwComponent::loop
void loop() override
Definition:
a02yyuw.cpp:12
esphome::Component
Definition:
component.h:68
esphome::a02yyuw::A02yyuwComponent
Definition:
a02yyuw.h:12
sensor.h
esphome::a02yyuw::A02yyuwComponent::buffer_
std::vector< uint8_t > buffer_
Definition:
a02yyuw.h:23
esphome::a02yyuw::A02yyuwComponent::dump_config
void dump_config() override
Definition:
a02yyuw.cpp:40
esphome::uart::UARTDevice
Definition:
uart.h:12
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
component.h
esphome::a02yyuw::A02yyuwComponent::check_buffer_
void check_buffer_()
Definition:
a02yyuw.cpp:24
esphome::sensor::Sensor
Base-class for all sensors.
Definition:
sensor.h:57
Generated by
1.8.13