ModularSensors > Classes > Variable > ExternalVoltage_Volt
ModularSensors > Modules > TI ADS1x15 External Voltage Sensor > ExternalVoltage_Volt


ExternalVoltage_Volt class

The Variable sub-class used for the voltage output from a TI ADS1115 or ADS1015.

Base classes

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

Constructors, destructors, conversion operators

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

Function documentation

ExternalVoltage_Volt(ExternalVoltage* parentSense, const char* uuid = "", const char* varCode = EXT_VOLTAGE_DEFAULT_CODE) explicit

Construct a new ExternalVoltage_Volt object.

Parameters
parentSense The parent ExternalVoltage 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 "extVoltage".

ExternalVoltage_Volt()

Construct a new ExternalVoltage_Volt object.