ModularSensors > Classes > Variable > YosemitechY510_Turbidity
ModularSensors > Modules > Yosemitech Y510 Turbidity Sensor > YosemitechY510_Turbidity


YosemitechY510_Turbidity class

The Variable sub-class used for the turbidity output from a Yosemitech Y510-B optical turbidity sensor.

Base classes

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

Constructors, destructors, conversion operators

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

Function documentation

YosemitechY510_Turbidity(YosemitechY510* parentSense, const char* uuid = "", const char* varCode = Y510_TURB_DEFAULT_CODE) explicit

Construct a new YosemitechY510_Turbidity object.

Parameters
parentSense The parent YosemitechY510 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 "Y510Turbidity".

YosemitechY510_Turbidity()

Construct a new YosemitechY510_Turbidity object.