theCore C++ embedded framework
fc28.hpp File Reference

FC-28 Soil Humidity/Moisture Detection Sensor Module. More...

#include <ecl/assert.h>
#include <ecl/err.hpp>
#include <common/gpio.hpp>
Include dependency graph for fc28.hpp:
This graph shows which files directly or indirectly include this file:

Data Structures

class  ecl::sensor::fc28< PowerPin >
 FC-28 Soil Humidity/Moisture Sensor class. More...
 

Namespaces

 ecl
 
 ecl::sensor
 
 ecl::sensor::fc28_defs
 

Typedefs

using ecl::sensor::fc28_defs::moisture_type = int
 Type that represents a moisture. More...
 

Variables

static constexpr auto ecl::sensor::fc28_defs::resolution = 8
 Moisture value resolution. More...
 
static constexpr moisture_type ecl::sensor::fc28_defs::max_moisture = (1 << resolution) - 1
 Maximum value of soil moisture. More...
 
static constexpr moisture_type ecl::sensor::fc28_defs::min_moisture = 0
 Minimum value of soild moisture. More...
 

Detailed Description

FC-28 Soil Humidity/Moisture Detection Sensor Module.

No official documentation is provided whatsoever. But some information can be found at: