upm
1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
|
UPM module for the Grove Water Level Switch. More...
This switch is a device used to sense the level of liquid within a tank, it may actuate a pump, an indicator, an alarm, or other devices.
Public Member Functions | |
WaterLevel (int pin) | |
~WaterLevel () | |
bool | isSubmerged () |
WaterLevel | ( | int | pin | ) |
WaterLevel constructor
pin | Digital pin to use |
~WaterLevel | ( | ) |
WaterLevel destructor
bool isSubmerged | ( | ) |