SeedLabs-it / smartknob-firmware

Repository for the Smart Knob Firmware (Currently supporting Dev Kit v0.1)
Other
23 stars 2 forks source link

LUX avg brightness fix. #110

Closed carlhampuswall closed 2 days ago

carlhampuswall commented 4 months ago

Changed lux avg from all reading average to last ten readings. Also added bool to not change screen brightness based on lux levels if no actual reading has been received from VEML sensor.

Works better than before, needs more work in the future.

carlhampuswall commented 4 months ago

@brushknight @nicolabortignon please try this out and see what u think might work differently on different knobs etc. And is also highly personal so we should really add some setting for screen timeout time, min brightness, if screen should go completely dark or not etc.