ESPHome 2025.5.0
Loading...
Searching...
No Matches
tmp102.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome {
8namespace 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
This class simplifies creating components that periodically check a state.
Definition component.h:301
This Class provides the methods to read/write bytes from/to an i2c device.
Definition i2c.h:133
Base-class for all sensors.
Definition sensor.h:57
void update() override
Update the sensor values (temperature)
Definition tmp102.cpp:30
float get_setup_priority() const override
Definition tmp102.cpp:51
void setup() override
Setup (reset) the sensor and check connection.
Definition tmp102.cpp:18
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7