Adafruit SHT4x Library
Public Member Functions | List of all members
Adafruit_SHT4x_Humidity Class Reference

Adafruit Unified Sensor interface for the humidity sensor component of SHT4x. More...

#include <Adafruit_SHT4x.h>

Inheritance diagram for Adafruit_SHT4x_Humidity:

Public Member Functions

 Adafruit_SHT4x_Humidity (Adafruit_SHT4x *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 object describing the SHT4x's humidity sensor. More...
 

Detailed Description

Adafruit Unified Sensor interface for the humidity sensor component of SHT4x.

Constructor & Destructor Documentation

◆ Adafruit_SHT4x_Humidity()

Adafruit_SHT4x_Humidity::Adafruit_SHT4x_Humidity ( Adafruit_SHT4x parent)
inline

Create an Adafruit_Sensor compatible object for the humidity sensor.

Parameters
parentA pointer to the SHT4x class

Member Function Documentation

◆ getEvent()

bool Adafruit_SHT4x_Humidity::getEvent ( sensors_event_t *  event)

Gets the humidity as a standard sensor event.

Parameters
eventSensor event object that will be populated
Returns
True

◆ getSensor()

void Adafruit_SHT4x_Humidity::getSensor ( sensor_t *  sensor)

Gets the sensor_t object describing the SHT4x's humidity sensor.

Parameters
sensorThe sensor_t object to be populated

The documentation for this class was generated from the following files: