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