GUVA S12SD SENSOR - thilo-hub/Lua-RTOS-ESP32 GitHub Wiki
Specification
What | Comments | |
---|---|---|
Identifier | GUVA-S12SD | |
Interface | ADC | |
Provides | UV Index | see note 1 |
Properties | none | |
Datasheet |
Note 1:
Code
-- Attach sensor using internal ADC at GPIO32
s1 = sensor.attach("GUVA-S12SD", adc.ADC1, pio.GPIO32)
s1:read("UV Index")