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