upm
1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
|
API for the Water Sensor. More...
UPM module for the Water sensor
Public Member Functions | |
Water (unsigned int pin) | |
~Water () | |
bool | isWet () |
Water | ( | unsigned int | pin | ) |
digital water sensor constructor
pin | Digital pin to use |
bool isWet | ( | ) |
Gets the water (wet/not wet) value from the sensor