Make light sensor more sensitive

This commit is contained in:
Admar Schoonen 2022-05-25 23:04:20 +02:00
parent 6926d35baf
commit e413703196
1 changed files with 2 additions and 0 deletions

View File

@ -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) {