ModularSensors > Classes > Variable > RainCounterI2C_Tips
ModularSensors > Modules > Trinket Tipping Bucket > RainCounterI2C_Tips


RainCounterI2C_Tips class

The Variable sub-class used for the total tip count output from an Adafruit Trinket based I2C tipping bucket counter.

  • gives the number of tips since last reading.

Base classes

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

Constructors, destructors, conversion operators

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

Function documentation

RainCounterI2C_Tips(RainCounterI2C* parentSense, const char* uuid = "", const char* varCode = BUCKET_TIPS_DEFAULT_CODE) explicit

Construct a new RainCounterI2C_Tips object.

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

RainCounterI2C_Tips()

Construct a new RainCounterI2C_Tips object.