Closed yatan closed 6 years ago
`// Capture Lux ambient float capture_lux() {
return lux_sensor.readLightLevel();
return analogRead(ldr_pin);
}`
`// Capture Lux ambient float capture_lux() {
if option_lux == lux_BH1750 // Return Lux value with BH1750
elif option_lux == lux_ldr // Return Lux value with LDR
endif
}`