Adafruit SCD30 Library
|
#include <Adafruit_SCD30.h>
Public Member Functions | |
Adafruit_SCD30_Humidity (Adafruit_SCD30 *parent) | |
Create an Adafruit_Sensor compatible object for the humidity sensor. More... | |
bool | getEvent (sensors_event_t *) |
Gets the humidity as a standard sensor event. More... | |
void | getSensor (sensor_t *) |
Gets the sensor_t data for the SCD30's humidity. | |
Adafruit Unified Sensor interface for the humidity sensor component of SCD30
|
inline |
Create an Adafruit_Sensor compatible object for the humidity sensor.
parent | A pointer to the SCD30 class |
bool Adafruit_SCD30_Humidity::getEvent | ( | sensors_event_t * | event | ) |
Gets the humidity as a standard sensor event.
event | Sensor event object that will be populated |