ESPHome
2026.5.0b1
Loading...
Searching...
No Matches
esphome
components
a01nyub
a01nyub.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::a01nyub
{
10
11
class
A01nyubComponent
:
public
sensor::Sensor
,
public
Component
,
public
uart::UARTDevice
{
12
public
:
13
// Nothing really public.
14
15
// ========== INTERNAL METHODS ==========
16
void
loop
()
override
;
17
void
dump_config
()
override
;
18
19
protected
:
20
void
check_buffer_
();
21
22
std::vector<uint8_t>
buffer_
;
23
};
24
25
}
// namespace esphome::a01nyub
esphome::Component
Definition
component.h:145
esphome::a01nyub::A01nyubComponent
Definition
a01nyub.h:11
esphome::a01nyub::A01nyubComponent::loop
void loop() override
Definition
a01nyub.cpp:11
esphome::a01nyub::A01nyubComponent::dump_config
void dump_config() override
Definition
a01nyub.cpp:42
esphome::a01nyub::A01nyubComponent::check_buffer_
void check_buffer_()
Definition
a01nyub.cpp:23
esphome::a01nyub::A01nyubComponent::buffer_
std::vector< uint8_t > buffer_
Definition
a01nyub.h:22
esphome::sensor::Sensor
Base-class for all sensors.
Definition
sensor.h:47
esphome::uart::UARTDevice
Definition
uart.h:11
component.h
esphome::a01nyub
Definition
a01nyub.cpp:7
sensor.h
uart.h
Generated by
1.12.0