upm
0.2.0
Sensor/Actuator repository for libmraa (v0.6.1)
|
C++ API for the Grove Loudness Sensor. More...
UPM module for the Grove Loudness Sensor. This sensor detects how loud the surrounding environment is. The higher the output analog value, the louder the sound.
Public Member Functions | |
GroveLoudness (int pin) | |
~GroveLoudness () | |
int | value () |
GroveLoudness | ( | int | pin | ) |
Grove analog loudness sensor constructor
pin | analog pin to use |
~GroveLoudness | ( | ) |
GroveLoudness Destructor
int value | ( | ) |
Get the loudness value from the sensor