WebsterXC / digidash

CSE442 group project that will consist of Raspberry Pi software development. Our goal is to create a plug-and-play digital dashboard and engine monitoring system.
GNU General Public License v3.0
2 stars 3 forks source link

Adjusting the brightness of Touchscreen display [OPTIONAL FEATURE] #41

Closed mohdkhan95 closed 7 years ago

WebsterXC commented 7 years ago

Careful before you dive into this too much, I think we may already have a Bash script that does this. I may have spoken too soon.

mohdkhan95 commented 7 years ago

Yes. This is one the the last thing in my To-do list. Apple devices are already implementing this feature and quite frankly I like it. Trying to change the brightness manually could be annoying sometimes. I'll have the design ready, and possibly try it out at the end of Sprint 4 or towards the end of the semester. Anyone who is interested can implement it in their rPI.

markgras commented 7 years ago

The touchscreen's backlight brightness is an unsigned byte (aka 0-255). For manual adjustment, I suggest letting the user jump in intervals of 5 between 10 and 255. Anything below 10 is almost impossible to see, even in an utterly dark room.

Just-Joe commented 7 years ago

Could be tied to 2 menu button to brighten and darken and call your script in the background

markgras commented 7 years ago

Exactly what I was thinking :)

mohdkhan95 commented 7 years ago

Team members have decided to implement a bash script on their RPi touchscreen instead of developing a circuitry (initial plan).

markgras commented 7 years ago

Khan, we've not yet completed integration of this script into our program. The script is written, but appropriate buttons still need to be added to the GUI. As such, I'm reopening this issue.

markgras commented 7 years ago

Brightness buttons are in a settings sub-menu. There are buttons for 0%, 25%, 50%, 75%, and 100% brightness.