ESPHome 2026.2.1
Loading...
Searching...
No Matches
sdp3x.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome {
8namespace sdp3x {
9
11
13 public:
15 void update() override;
17 void setup() override;
18 void dump_config() override;
19
21
22 protected:
24 void read_pressure_();
26};
27
28} // namespace sdp3x
29} // namespace esphome
BedjetMode mode
BedJet operating mode.
This class simplifies creating components that periodically check a state.
Definition component.h:512
void read_pressure_()
Internal method to read the pressure from the component after it has been scheduled.
Definition sdp3x.cpp:96
void set_measurement_mode(MeasurementMode mode)
Definition sdp3x.h:20
void setup() override
Setup the sensor and test for a connection.
Definition sdp3x.cpp:19
void update() override
Schedule temperature+pressure readings.
Definition sdp3x.cpp:17
void dump_config() override
Definition sdp3x.cpp:87
MeasurementMode measurement_mode_
Definition sdp3x.h:25
Base-class for all sensors.
Definition sensor.h:43
@ MASS_FLOW_AVG
Definition sdp3x.h:10
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7