ESPHome  2024.11.0
tof10120_sensor.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 namespace esphome {
8 namespace tof10120 {
9 
11  public:
12  void setup() override;
13 
14  void dump_config() override;
15  float get_setup_priority() const override { return setup_priority::DATA; }
16  void update() override;
17 };
18 } // namespace tof10120
19 } // namespace esphome
const float DATA
For components that import data from directly connected sensors like DHT.
Definition: component.cpp:19
This class simplifies creating components that periodically check a state.
Definition: component.h:283
float get_setup_priority() const override
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
Base-class for all sensors.
Definition: sensor.h:57
This Class provides the methods to read/write bytes from/to an i2c device.
Definition: i2c.h:133