ModularSensors > Classes > Variable > TallyCounterI2C_Events
ModularSensors > Modules > Tally Counter I2C > TallyCounterI2C_Events


TallyCounterI2C_Events class

The Variable sub-class used for the events output from a Tally Counter I2C - shows the number of events since last read.

Base classes

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

Constructors, destructors, conversion operators

TallyCounterI2C_Events(TallyCounterI2C* parentSense, const char* uuid = "", const char* varCode = TALLY_EVENTS_DEFAULT_CODE) explicit
Construct a new TallyCounterI2C_Events object.
TallyCounterI2C_Events()
Construct a new TallyCounterI2C_Events object.
~TallyCounterI2C_Events()
Destroy the BoschBME280_Temp object - no action needed.

Function documentation

TallyCounterI2C_Events(TallyCounterI2C* parentSense, const char* uuid = "", const char* varCode = TALLY_EVENTS_DEFAULT_CODE) explicit

Construct a new TallyCounterI2C_Events object.

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

TallyCounterI2C_Events()

Construct a new TallyCounterI2C_Events object.