|
ESPHome 2026.12.0-dev
|
Data Structures | |
| class | VL53L4CXSensor |
| VL53L4CX multi-target time-of-flight sensor, driven by ST's driver (esphome-libs/VL53L4CX). More... | |
Enumerations | |
| enum | Target : uint8_t { TARGET_NEAREST , TARGET_FARTHEST , TARGET_STRONGEST } |
Functions | |
| ESPHOME_LOG_TAG (TAG, "vl53l4cx") | |
| PROGMEM_STRING_TABLE (TargetStrings, "nearest", "farthest", "strongest") | |
| PROGMEM_STRING_TABLE (DistanceModeStrings, "medium", "long") | |
| int32_t | select_distance_mm (const VL53L4CX_MultiRangingData_t &data, Target target, uint16_t min_distance_mm, int16_t offset_mm) |
Distance in mm of the chosen valid target at or beyond min_distance_mm, or -1. | |
| enum esphome::vl53l4cx::Target : uint8_t |
| Enumerator | |
|---|---|
| TARGET_NEAREST | |
| TARGET_FARTHEST | |
| TARGET_STRONGEST | |
Definition at line 13 of file vl53l4cx.h.
| esphome::vl53l4cx::ESPHOME_LOG_TAG | ( | TAG | , |
| "vl53l4cx" | ) |
| esphome::vl53l4cx::PROGMEM_STRING_TABLE | ( | DistanceModeStrings | , |
| "medium" | , | ||
| "long" | ) |
| esphome::vl53l4cx::PROGMEM_STRING_TABLE | ( | TargetStrings | , |
| "nearest" | , | ||
| "farthest" | , | ||
| "strongest" | ) |
| int32_t esphome::vl53l4cx::select_distance_mm | ( | const VL53L4CX_MultiRangingData_t & | data, |
| Target | target, | ||
| uint16_t | min_distance_mm, | ||
| int16_t | offset_mm ) |
Distance in mm of the chosen valid target at or beyond min_distance_mm, or -1.
Definition at line 264 of file vl53l4cx.cpp.