|
upm
0.2.0
Sensor/Actuator repository for libmraa (v0.6.1)
|
C++ API for the GUVAS12D UV sensor module. More...
UPM module for the GUVAS12D UV Sensor
Public Member Functions | |
| GUVAS12D (int pin) | |
| ~GUVAS12D () | |
| float | value (float aref, unsigned int samples) |
| float value | ( | float | aref, |
| unsigned int | samples | ||
| ) |
Get the averaged voltage value from the sensor
| aref | the reference voltage in use (5.0 or 3.3 usually) |
| samples | number of samples to average over |
1.8.9.1