pfps / yoga-laptop

Systems and information to make Lenovo Yoga laptops work better
GNU General Public License v3.0
156 stars 30 forks source link

Debounce light sensor #45

Open jualvarez opened 9 years ago

jualvarez commented 9 years ago

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!

pfps commented 9 years ago

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.