ESPHome 2026.5.1
Loading...
Searching...
No Matches
sdp3x.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome::sdp3x {
8
10
12 public:
14 void update() override;
16 void setup() override;
17 void dump_config() override;
18
20
21 protected:
23 void read_pressure_();
25};
26
27} // namespace esphome::sdp3x
BedjetMode mode
BedJet operating mode.
This class simplifies creating components that periodically check a state.
Definition component.h:602
void read_pressure_()
Internal method to read the pressure from the component after it has been scheduled.
Definition sdp3x.cpp:95
void set_measurement_mode(MeasurementMode mode)
Definition sdp3x.h:19
void setup() override
Setup the sensor and test for a connection.
Definition sdp3x.cpp:18
void update() override
Schedule temperature+pressure readings.
Definition sdp3x.cpp:16
void dump_config() override
Definition sdp3x.cpp:86
MeasurementMode measurement_mode_
Definition sdp3x.h:24
Base-class for all sensors.
Definition sensor.h:47
@ MASS_FLOW_AVG
Definition sdp3x.h:9