ESPHome  2024.11.2
tmp102.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 namespace esphome {
8 namespace tmp102 {
9 
11  public:
13  void setup() override;
14  void dump_config() override;
16  void update() override;
17 
18  float get_setup_priority() const override;
19 };
20 
21 } // namespace tmp102
22 } // namespace esphome
void dump_config() override
Definition: tmp102.cpp:20
void update() override
Update the sensor values (temperature)
Definition: tmp102.cpp:30
float get_setup_priority() const override
Definition: tmp102.cpp:51
This class simplifies creating components that periodically check a state.
Definition: component.h:283
void setup() override
Setup (reset) the sensor and check connection.
Definition: tmp102.cpp:18
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