ModularSensors > Classes > Variable > TIINA219_Voltage
ModularSensors > Modules > TI INA219 > TIINA219_Voltage


TIINA219_Voltage 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_Voltage(TIINA219* parentSense, const char* uuid = "", const char* varCode = INA219_BUS_VOLTAGE_DEFAULT_CODE) explicit
Construct a new TIINA219_Voltage object.
TIINA219_Voltage()
Construct a new TIINA219_Voltage object.
~TIINA219_Voltage()
Destroy the TIINA219_Voltage object - no action needed.

Function documentation

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

Construct a new TIINA219_Voltage 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_Voltage()

Construct a new TIINA219_Voltage object.