72 auto isPoweredOnDemand() -> bool;
Gets values from an Iduino SE045 water sensor.
Definition water-sensor.hpp:31
WaterSensor(int sensorPin, int powerPin=-1)
Constructor.
Definition water-sensor.cpp:4
auto getLevel() -> int
Measures and returns the current water level.
Definition water-sensor.cpp:15