upm
0.2.0
Sensor/Actuator repository for libmraa (v0.6.1)
|
C++ API for the Grove Water Sensor. More...
UPM module for the Grove Water Sensor
Public Member Functions | |
GroveWater (int pin) | |
~GroveWater () | |
bool | isWet () |
GroveWater | ( | int | pin | ) |
Grove digital water sensor constructor
pin | digital pin to use |
~GroveWater | ( | ) |
GroveWater Destructor
bool isWet | ( | ) |
Get the water (wet/not wet) value from the sensor