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


TIADS1x15_Voltage 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

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

Function documentation

TIADS1x15_Voltage(TIADS1x15* parentSense, const char* uuid = "", const char* varCode = TIADS1X15_DEFAULT_CODE) explicit

Construct a new TIADS1x15_Voltage object.

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

TIADS1x15_Voltage()

Construct a new TIADS1x15_Voltage object.