Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: danny chan on June 16, 2016, 11:12:18 AM

Title: How to change backlight brightness of LCD in runtime?
Post by: danny chan on June 16, 2016, 11:12:18 AM
Hi,

I know I can change the LCD backlihgt brighness in script.bin, but it requires re-start. Is there any ways I can change the backlight brightness of the LCD in runtime??

If I can do that, similarly I think I can adjust the gamma of LCD in runtime as well.

Thanks!

Danny
Title: Re: How to change backlight brightness of LCD in runtime?
Post by: danny chan on June 17, 2016, 10:37:31 AM
Hi,

I can see from wiki that changing the script.bin can be done in runnig Debian image in newest release, is it real? How to do?

I want to change the PWM rate in script.bin in runtime to control LCD brightness.

Can anyone help?

Danny
Title: Re: How to change backlight brightness of LCD in runtime?
Post by: danny chan on June 20, 2016, 09:36:44 AM
Hi,

Anyone knows how to do?

It should be an important feature to control brightness if we use this board as a tablet, right?

Thanks!

Danny
Title: Re: How to change backlight brightness of LCD in runtime?
Post by: kotdadabong on June 20, 2016, 02:19:54 PM
lemme check it out. olimex doesnt have much of a help community but ill see what i can do. its a shame because its such an awesome platform like a super pi.
Title: Re: How to change backlight brightness of LCD in runtime?
Post by: Gerrit on June 20, 2016, 05:28:15 PM
https://www.olimex.com/forum/index.php?topic=2862.0

You could helped yourself by taking a little more effort searching the forum before asking
Title: Re: How to change backlight brightness of LCD in runtime?
Post by: danny chan on June 21, 2016, 04:35:05 AM
Hi,

Thanks, I have read that post before also. He controls the pwm of the A20 directly instead of updating the script.bin file.

Yes I can use this method to control brightness, but I want to know whether I can do it by updating the script.bin file in runtime? Because if I can do that, I can update the gamma table using this method also.

Thanks.

Danny
Title: Re: How to change backlight brightness of LCD in runtime?
Post by: JohnS on June 21, 2016, 11:03:18 AM
script.bin is only read once on booting so no good to change it.

John