|
@@ -27,13 +27,24 @@
|
27
|
27
|
#include <mraa/gpio.h>
|
28
|
28
|
|
29
|
29
|
namespace upm {
|
|
30
|
+ /**
|
|
31
|
+ * @brief UPM library for the Grove Water Sensor
|
|
32
|
+ * @defgroup grovewater libupm-grovewater
|
|
33
|
+ * @ingroup seeed gpio liquid
|
|
34
|
+ */
|
30
|
35
|
|
31
|
36
|
/**
|
|
37
|
+ * @library grovewater
|
|
38
|
+ * @sensor grovewater
|
|
39
|
+ * @comname Grove Water Sensor
|
|
40
|
+ * @type liquid
|
|
41
|
+ * @man seeed
|
|
42
|
+ * @con gpio
|
|
43
|
+ *
|
32
|
44
|
* @brief C++ API for the Grove Water Sensor
|
33
|
45
|
*
|
34
|
46
|
* UPM module for the Grove Water Sensor
|
35
|
47
|
*
|
36
|
|
- * @ingroup grove gpio
|
37
|
48
|
* @snippet grovewater.cxx Interesting
|
38
|
49
|
*/
|
39
|
50
|
class GroveWater {
|
|
@@ -59,5 +70,3 @@ namespace upm {
|
59
|
70
|
mraa_gpio_context m_gpio;
|
60
|
71
|
};
|
61
|
72
|
}
|
62
|
|
-
|
63
|
|
-
|