SeedLabs-it / smartknob-firmware

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

Add luminosity sensor component to brightness function #30

Closed nicolabortignon closed 8 months ago

nicolabortignon commented 8 months ago

Brightness of screen is now controlled in the following ways:

1) when user is interacting with the knob (full brightness)

2) when the user has stopped interacting with it and 5 seconds has passed. The luminosity of the screen falls to a range that is [ MAX luminosity / 8, and 0] based on the enviroment luminosity.