WaterLevel Class
- 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.
Item Index
Methods
Methods
WaterLevel
(
Number
-
pin
WaterLevel constructor
Parameters:
-
pin
NumberDigital pin to use
Returns:
Number:
isSubmerged
()
Boolean
Returns:
Boolean:
bool Determines whether liquid has risen above the sensor