ESPHome
2024.10.2
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