ESPHome  2024.11.1
sdp3x.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 namespace esphome {
8 namespace sdp3x {
9 
11 
13  public:
15  void update() override;
17  void setup() override;
18  void dump_config() override;
19 
20  float get_setup_priority() const override;
22 
23  protected:
25  void read_pressure_();
27 };
28 
29 } // namespace sdp3x
30 } // namespace esphome
This class simplifies creating components that periodically check a state.
Definition: component.h:283
MeasurementMode measurement_mode_
Definition: sdp3x.h:26
void setup() override
Setup the sensor and test for a connection.
Definition: sdp3x.cpp:19
BedjetMode mode
BedJet operating mode.
Definition: bedjet_codec.h:183
float get_setup_priority() const override
Definition: sdp3x.cpp:119
Implementation of a i2c functions for Sensirion sensors Sensirion data requires crc checking...
Definition: i2c_sensirion.h:17
void update() override
Schedule temperature+pressure readings.
Definition: sdp3x.cpp:17
void set_measurement_mode(MeasurementMode mode)
Definition: sdp3x.h:21
void dump_config() override
Definition: sdp3x.cpp:89
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
Base-class for all sensors.
Definition: sensor.h:57
void read_pressure_()
Internal method to read the pressure from the component after it has been scheduled.
Definition: sdp3x.cpp:98