pyupm_waterlevel module¶
-
class
pyupm_waterlevel.
WaterLevel
(pin)[source]¶ Bases:
object
UPM module for the Grove Water Level Switch.
ID: waterlevel
Name: Water Level Sensor
Category: liquid
Manufacturer: seeed
Connection: gpio 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.
C++ includes: waterlevel.hpp