ESPHome  2022.6.3
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
BedjetMode mode
BedJet operating mode.
Definition: bedjet_base.h:102
This class simplifies creating components that periodically check a state.
Definition: component.h:266
MeasurementMode measurement_mode_
Definition: sdp3x.h:26
void setup() override
Setup the sensor and test for a connection.
Definition: sdp3x.cpp:19
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:15
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
Definition: a4988.cpp:4
Base-class for all sensors.
Definition: sensor.h:47
void read_pressure_()
Internal method to read the pressure from the component after it has been scheduled.
Definition: sdp3x.cpp:98