- use it in the daylight, and use brighter light in the night.
brightness = PWMLED_BRIGHTNESS(0, 0, 0, 0, 0);
} else if (ambient_zone == 0) {
if (dim_mode)
brightness = PWMLED_BRIGHTNESS(0, 0, 0, 0, 0);
} else if (ambient_zone == 0) {
if (dim_mode)
- brightness = PWMLED_BRIGHTNESS(0, 1, 0, 0, 1);
+ brightness = PWMLED_BRIGHTNESS(0, 1, 0, 0, 2);
- brightness = PWMLED_BRIGHTNESS(1, 3, 2, 1, 3);
+ brightness = PWMLED_BRIGHTNESS(1, 3, 2, 1, 4);
} else if (ambient_zone == 1) {
if (dim_mode)
brightness = PWMLED_BRIGHTNESS(0, 1, 0, 0, 1);
} else if (ambient_zone == 1) {
if (dim_mode)
brightness = PWMLED_BRIGHTNESS(0, 1, 0, 0, 1);
} else if (ambient_zone == 2) {
brightness = PWMLED_BRIGHTNESS(1, 3, 2, 1, 3);
} else if (ambient_zone == 3) {
} else if (ambient_zone == 2) {
brightness = PWMLED_BRIGHTNESS(1, 3, 2, 1, 3);
} else if (ambient_zone == 3) {
- brightness = PWMLED_BRIGHTNESS(2, 4, 2, 2, 4);
+ brightness = PWMLED_BRIGHTNESS(2, 4, 2, 2, 5);
}
pwmled_set_brightness(brightness);
}
pwmled_set_brightness(brightness);
MA_GAIN_TO_ADC( 500, 1),
MA_GAIN_TO_ADC( 700, 1),
MA_GAIN_TO_ADC(1500, 1),
MA_GAIN_TO_ADC( 500, 1),
MA_GAIN_TO_ADC( 700, 1),
MA_GAIN_TO_ADC(1500, 1),
+ MA_GAIN_TO_ADC(2500, 1),