From e413703196e3129e9ddc9d36a3392b25a8af320d Mon Sep 17 00:00:00 2001 From: admar Date: Wed, 25 May 2022 23:04:20 +0200 Subject: [PATCH] Make light sensor more sensitive --- Claire.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Claire.ino b/Claire.ino index f9841ea..73f1846 100644 --- a/Claire.ino +++ b/Claire.ino @@ -270,6 +270,8 @@ static void setup_pins_proto_v1(void) ledMapIAQI = IAQI_LED; LIGHT_PIN = 34; + analogSetPinAttenuation(LIGHT_PIN, ADC_0db); + analogReadResolution(12); } void leds_clear(void) {