ESPHome  2024.12.2
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 
11  ESP_LOGCONFIG(TAG, "LD2420 Sensor:");
12  LOG_SENSOR(" ", "Distance", this->distance_sensor_);
13 }
14 
15 } // namespace ld2420
16 } // namespace esphome
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
sensor::Sensor * distance_sensor_
Definition: ld2420_sensor.h:29