[Solved] Revised backlight modes
[Solved] Revised backlight modes
Hi all,
This was a very interesting embedded system project. I jumped in revising the backlight modes to be more intuitive for a new user like me. The modes are: On, Off, Manual, Auto. In the manual mode the backlight is toggled in three states Off --> On --> Dimmed --> Off.
If someone is interested the code is in a forked repository devel branch at at https://github.com/oh4va/OpenGD77/
73 de Veijo OH4VA
This was a very interesting embedded system project. I jumped in revising the backlight modes to be more intuitive for a new user like me. The modes are: On, Off, Manual, Auto. In the manual mode the backlight is toggled in three states Off --> On --> Dimmed --> Off.
If someone is interested the code is in a forked repository devel branch at at https://github.com/oh4va/OpenGD77/
73 de Veijo OH4VA
Last edited by oh4va on Tue Apr 07, 2020 6:47 am, edited 5 times in total.
Re: Revised backlight modes
So you added Mode "On" to replace Timeout: "No" ?
Re: Revised backlight modes
Edit: Not relevant anymore.
Last edited by oh4va on Tue Apr 07, 2020 4:53 am, edited 2 times in total.
Re: Revised backlight modes
Re: Revised backlight modes
Hi VA,
Don't let these guys discourage you. I think this change you made is more intuitive than how it works right now (though I think I would have put On as the first option). Most of my own patches still make sense to me too. Only one or two, plus some documentation updates, have been accepted so far. I keep the rest of them in my clone and rebase them when I want to see if they still make sense or if I've thought better of them.
Keep in mind that everything about how the firmware works today seemed like the right way to someone. It's hard to please everyone, and what seems intuitive to you or I may seem the opposite to someone who's used to something else.
Successful Open Source communities thrive on smaller contributions. Keep up the good work.
BTW, to avoid corruption when making changes to the nonvolatile settings you can change the magic number to something random for test firmwares. It basically just forces a reset, but in the future it could be used to upgrade the settings from one format to the next.
Kind Regards,
Andrew / KC7RBW
Don't let these guys discourage you. I think this change you made is more intuitive than how it works right now (though I think I would have put On as the first option). Most of my own patches still make sense to me too. Only one or two, plus some documentation updates, have been accepted so far. I keep the rest of them in my clone and rebase them when I want to see if they still make sense or if I've thought better of them.
Keep in mind that everything about how the firmware works today seemed like the right way to someone. It's hard to please everyone, and what seems intuitive to you or I may seem the opposite to someone who's used to something else.
Successful Open Source communities thrive on smaller contributions. Keep up the good work.
BTW, to avoid corruption when making changes to the nonvolatile settings you can change the magic number to something random for test firmwares. It basically just forces a reset, but in the future it could be used to upgrade the settings from one format to the next.
Kind Regards,
Andrew / KC7RBW
Re: Revised backlight modes
Hello OH4VA
Thanks for OH4VA backlight fix. Now both Auto and Manual mode work really well, WHEN the Min bright setting is 1%, now Manual setting backlight can be turned off.
73 OH7FES Ari
Thanks for OH4VA backlight fix. Now both Auto and Manual mode work really well, WHEN the Min bright setting is 1%, now Manual setting backlight can be turned off.
73 OH7FES Ari
Re: Revised backlight modes
Hi,
I introduced a new page for my modifications, viewtopic.php?f=15&t=815
73 de Veijo OH4VA (aka OH3NFC)
I introduced a new page for my modifications, viewtopic.php?f=15&t=815
73 de Veijo OH4VA (aka OH3NFC)
Last edited by oh4va on Wed Apr 08, 2020 8:07 am, edited 1 time in total.
Re: Revised backlight modes
Daniel's fix for the bug in the backlight will be in the next pre-release version, which will probably be posted to the forumthis weekend, or possibly before , if i have time.