ModularSensors > Classes > Variable > TIINA219_Current
ModularSensors > Modules > TI INA219 > TIINA219_Current


TIINA219_Current class

The Variable sub-class used for the current 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_Current(TIINA219* parentSense, const char* uuid = "", const char* varCode = INA219_CURRENT_MA_DEFAULT_CODE) explicit
Construct a new TIINA219_Current object.
TIINA219_Current()
Construct a new TIINA219_Current object.
~TIINA219_Current()
Destroy the TIINA219_Current object - no action needed.

Function documentation

TIINA219_Current(TIINA219* parentSense, const char* uuid = "", const char* varCode = INA219_CURRENT_MA_DEFAULT_CODE) explicit

Construct a new TIINA219_Current 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 "TIINA219Amp".

TIINA219_Current()

Construct a new TIINA219_Current object.