05-25-2021, 01:39 PM
Can someone please tell me how I can set the brightness of my screen (Official 7" display), based on day/night mode, WITHOUT using a light sensor.
Currently I have GPIO 17 go high to trigger night mode when I turn on headlights. I would like the brightness to go to...say...20.
Then back to day mode...brightness 100.
Does anyone know how to script this? I imagine it would just involve reading the GPIO state and setting backlight accordingly.
Perhaps a suggestion for incorporation into future releases?
I just updated to 13.1 and hoped to see a setting incorporated.
Currently I have GPIO 17 go high to trigger night mode when I turn on headlights. I would like the brightness to go to...say...20.
Then back to day mode...brightness 100.
Does anyone know how to script this? I imagine it would just involve reading the GPIO state and setting backlight accordingly.
Perhaps a suggestion for incorporation into future releases?
I just updated to 13.1 and hoped to see a setting incorporated.