ModularSensors > Classes > Variable > AOSongAM2315_Humidity
ModularSensors > Modules > AOSong AM2315 > AOSongAM2315_Humidity


AOSongAM2315_Humidity class

The Variable sub-class used for the relative humidity output from an AOSong AM2315.

Base classes

class Variable
The variable class for a value and related metadata.

Constructors, destructors, conversion operators

AOSongAM2315_Humidity(AOSongAM2315* parentSense, const char* uuid = "", const char* varCode = AM2315_HUMIDITY_DEFAULT_CODE) explicit
Construct a new AOSongAM2315_Humidity object.
AOSongAM2315_Humidity()
Construct a new AOSongAM2315_Humidity object.
~AOSongAM2315_Humidity()
Destroy the AOSongAM2315_Humidity object - no action needed.

Function documentation

AOSongAM2315_Humidity(AOSongAM2315* parentSense, const char* uuid = "", const char* varCode = AM2315_HUMIDITY_DEFAULT_CODE) explicit

Construct a new AOSongAM2315_Humidity object.

Parameters
parentSense The parent AOSongAM2315 providing the result values.
uuid A universally unique identifier (UUID or GUID) for the variable; optional with the default value of an empty string.
varCode A short code to help identify the variable in files; optional with a default value of "AM2315Humidity".

AOSongAM2315_Humidity()

Construct a new AOSongAM2315_Humidity object.