|
@@ -27,15 +27,26 @@
|
27
|
27
|
#include <mraa/aio.h>
|
28
|
28
|
|
29
|
29
|
namespace upm {
|
|
30
|
+ /**
|
|
31
|
+ * @brief UPM library for the Grove Loudness Sensor
|
|
32
|
+ * @defgroup groveloudness libupm-groveloudness
|
|
33
|
+ * @ingroup seeed analog sound
|
|
34
|
+ */
|
30
|
35
|
|
31
|
36
|
/**
|
|
37
|
+ * @library groveloudness
|
|
38
|
+ * @sensor groveloudness
|
|
39
|
+ * @comname Grove Loudness Sensor
|
|
40
|
+ * @type sound
|
|
41
|
+ * @man seeed
|
|
42
|
+ * @con analog
|
|
43
|
+ *
|
32
|
44
|
* @brief C++ API for the Grove Loudness Sensor
|
33
|
45
|
*
|
34
|
46
|
* UPM module for the Grove Loudness Sensor. This sensor
|
35
|
47
|
* detects how loud the surrounding environment is.
|
36
|
48
|
* The higher the output analog value, the louder the sound.
|
37
|
49
|
*
|
38
|
|
- * @ingroup grove analog
|
39
|
50
|
* @snippet groveloudness.cxx Interesting
|
40
|
51
|
*/
|
41
|
52
|
class GroveLoudness {
|