yoga-laptop icon indicating copy to clipboard operation
yoga-laptop copied to clipboard

Debounce light sensor

Open jualvarez opened this issue 9 years ago • 1 comments

First of all, thanks for your amazing work. I have been testing the light sensor, and it works fantastic in general, but I have noticed, that in low light conditions, the sensor is somewhat unstable and the backlight changes constantly, making it uncomfortable. Maybe a debounce algorythm can be implemented to prevent this? Thanks!

jualvarez avatar Nov 04 '15 02:11 jualvarez

Implementing some inertia in the light output is a good idea. I'm not sure exactly what algorithm is needed here, and I don't have time to work on it right now. If anyone wants to give it a whirl, go ahead.

peter

On 11/03/2015 06:02 PM, jualvarez wrote:

First of all, thanks for your amazing work. I have been testing the light sensor, and it works fantastic in general, but I have noticed, that in low light conditions, the sensor is somewhat unstable and the backlight changes constantly, making it uncomfortable. Maybe a debounce algorythm can be implemented to prevent this? Thanks!

— Reply to this email directly or view it on GitHub https://github.com/pfps/yoga-laptop/issues/45.

pfps avatar Nov 04 '15 02:11 pfps