ModularSensors > Classes > Variable > AOSongAM2315_Temp
ModularSensors > Modules > AOSong AM2315 > AOSongAM2315_Temp


AOSongAM2315_Temp class

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

Base classes

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

Constructors, destructors, conversion operators

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

Function documentation

AOSongAM2315_Temp(AOSongAM2315* parentSense, const char* uuid = "", const char* varCode = AM2315_TEMP_DEFAULT_CODE) explicit

Construct a new AOSongAM2315_Temp 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 "AM2315Temp".

AOSongAM2315_Temp()

Construct a new AOSongAM2315_Temp object.