upm
1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
|
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 | ( | ) |
Gets the water (wet/not wet) value from the sensor