LoomSDI12Sensor class

Abstract base class for SDI12 sensor modules.

Base classes

class LoomSensor
Abstract root of Loom sensor modules hierarchy.

Derived classes

class Loom_Decagon5TM
Decagon 5TM soil moisture sensor module.
class Loom_DecagonGS3
Decagon GS3 soil moisture sensor module.

CONSTRUCTORS / DESTRUCTOR

LoomSDI12Sensor(LoomManager* manager, const char* module_name, const LoomModule::Type module_type, const uint8_t num_samples = 1)
Constructor.
~LoomSDI12Sensor() defaulted virtual
Destructor.

Function documentation

LoomSDI12Sensor::LoomSDI12Sensor(LoomManager* manager, const char* module_name, const LoomModule::Type module_type, const uint8_t num_samples = 1)

Constructor.

Parameters
manager
module_name in Name of the module (provided by derived classes)
module_type in Type of the module (provided by derived classes)
num_samples in The number of samples to take and average