Loom_Decagon5TM class
Decagon 5TM soil moisture sensor module.
Contents
Incomplete.
Base classes
- class LoomSDI12Sensor
- Abstract base class for SDI12 sensor modules.
CONSTRUCTORS / DESTRUCTOR
- Loom_Decagon5TM(LoomManager* manager, const uint8_t num_samples = 1)
- Decagon 5TM module constructor.
- Loom_Decagon5TM(LoomManager* manager, JsonArrayConst p)
- Constructor that takes Json Array, extracts args and delegates to regular constructor.
- ~Loom_Decagon5TM() defaulted
- Destructor.
OPERATION
PRINT INFORMATION
- void print_config() const override
- Display the configuration settings of the module.
- void print_measurements() const override
- Print the last set of measurements taken.
Function documentation
Loom_ Decagon5TM:: Loom_Decagon5TM(LoomManager* manager,
const uint8_t num_samples = 1)
Decagon 5TM module constructor.
Parameters | |
---|---|
manager | |
num_samples in | Set(Int) | <8> | {1, 2, 4, 8, 16} | How many samples to take and average |
Loom_ Decagon5TM:: Loom_Decagon5TM(LoomManager* manager,
JsonArrayConst p)
Constructor that takes Json Array, extracts args and delegates to regular constructor.
Parameters | |
---|---|
manager | |
p in | The array of constuctor args to expand |
void Loom_ Decagon5TM:: package(JsonObject json) override
Package a modules measurements or state.
Parameters | |
---|---|
json out | Object to put data into |
void Loom_ Decagon5TM:: print_measurements() const override
Print the last set of measurements taken.
Does not package the data.