upm
0.5.1
Sensor/Actuator repository for libmraa (v0.9.1)
|
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