Make light sensor more sensitive
This commit is contained in:
parent
6926d35baf
commit
e413703196
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue