GroveWater Class
- ID: grovewater
- Name: Water Sensor
- Category: liquid
- Manufacturer: seeed
- Connection: gpio
- Kit: eak
UPM module for the Grove Water sensor
Item Index
Methods
Methods
GroveWater
(
Number
-
pin
Grove digital water sensor constructor
Parameters:
-
pin
NumberDigital pin to use
Returns:
Number:
isWet
()
Boolean
Gets the water (wet/not wet) value from the sensor
Returns:
Boolean:
True if the sensor is wet, false otherwise