ModularSensors > Classes > Variable > TIINA219_Volt
ModularSensors > Modules > TI INA219 > TIINA219_Volt


TIINA219_Volt class

The Variable sub-class used for the bus voltage output from a TI INA219 power and current monitor.

Base classes

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

Constructors, destructors, conversion operators

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

Function documentation

TIINA219_Volt(TIINA219* parentSense, const char* uuid = "", const char* varCode = INA219_BUS_VOLTAGE_DEFAULT_CODE) explicit

Construct a new TIINA219_Volt object.

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

TIINA219_Volt()

Construct a new TIINA219_Volt object.