Adafruit Unified Sensor interface for the pressure sensor component of the MS8607.
More...
#include <Adafruit_MS8607.h>
Adafruit Unified Sensor interface for the pressure sensor component of the MS8607.
◆ Adafruit_MS8607_Humidity()
Adafruit_MS8607_Humidity::Adafruit_MS8607_Humidity |
( |
Adafruit_MS8607 * |
parent | ) |
|
|
inline |
Create an Adafruit_Sensor compatible object for the Humidity sensor.
- Parameters
-
parent | A pointer to the MS8607 class |
◆ getEvent()
bool Adafruit_MS8607_Humidity::getEvent |
( |
sensors_event_t * |
event | ) |
|
Gets the relative humidity as a standard sensor event.
- Parameters
-
event | Sensor event object that will be populated |
- Returns
- true
◆ getSensor()
void Adafruit_MS8607_Humidity::getSensor |
( |
sensor_t * |
sensor | ) |
|
Gets the sensor_t object describing the MS8607's humidity sensor.
- Parameters
-
sensor | The sensor_t object to be populated |
The documentation for this class was generated from the following files: