ESPHome
2025.2.0
Main Page
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
d
e
f
i
j
l
m
n
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
c
d
o
p
s
t
v
w
+
Enumerations
b
c
e
f
i
m
n
p
r
s
t
v
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Functions
_
a
l
m
o
s
t
u
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
esphome
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
{
10
namespace
a01nyub {
11
12
class
A01nyubComponent
:
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 a01nyub
27
}
// namespace esphome
uart.h
esphome::a01nyub::A01nyubComponent::dump_config
void dump_config() override
Definition:
a01nyub.cpp:41
esphome::a01nyub::A01nyubComponent::buffer_
std::vector< uint8_t > buffer_
Definition:
a01nyub.h:23
esphome::Component
Definition:
component.h:68
sensor.h
esphome::uart::UARTDevice
Definition:
uart.h:12
esphome::a01nyub::A01nyubComponent::loop
void loop() override
Definition:
a01nyub.cpp:12
esphome::a01nyub::A01nyubComponent
Definition:
a01nyub.h:12
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
component.h
esphome::sensor::Sensor
Base-class for all sensors.
Definition:
sensor.h:57
esphome::a01nyub::A01nyubComponent::check_buffer_
void check_buffer_()
Definition:
a01nyub.cpp:24
Generated by
1.8.13