| 
    upm
    0.3.2
    
   Sensor/Actuator repository for libmraa (v0.7.2) 
   | 
 
API for the GUVA-S12D UV Sensor. More...
UPM module for the GUVA-S12D UV sensor
Public Member Functions | |
| GUVAS12D (int pin) | |
| ~GUVAS12D () | |
| float | value (float aref, unsigned int samples) | 
| GUVAS12D | ( | int | pin | ) | 
GUVA-S12D UV sensor constructor
| pin | Analog pin to use | 
| float value | ( | float | aref, | 
| unsigned int | samples | ||
| ) | 
Gets the average voltage value from the sensor
| aref | Reference voltage in use (usually 5.0 V or 3.3 V) | 
| samples | Number of samples to average over | 
 1.8.9.1