ESPHome
2024.10.2
esphome
esphome
components
ld2420
sensor
ld2420_sensor.cpp
Go to the documentation of this file.
1
#include "
ld2420_sensor.h
"
2
#include "
esphome/core/helpers.h
"
3
#include "
esphome/core/log.h
"
4
5
namespace
esphome
{
6
namespace
ld2420 {
7
8
static
const
char
*
const
TAG =
"LD2420.sensor"
;
9
10
void
LD2420Sensor::dump_config
() {
11
ESP_LOGCONFIG(TAG,
"LD2420 Sensor:"
);
12
LOG_SENSOR(
" "
,
"Distance"
, this->
distance_sensor_
);
13
}
14
15
}
// namespace ld2420
16
}
// namespace esphome
ld2420_sensor.h
esphome::ld2420::LD2420Sensor::dump_config
void dump_config() override
Definition:
ld2420_sensor.cpp:10
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
helpers.h
log.h
esphome::ld2420::LD2420Sensor::distance_sensor_
sensor::Sensor * distance_sensor_
Definition:
ld2420_sensor.h:29
Generated by
1.8.13