Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: fiuwe on October 10, 2015, 02:02:29 AM

Title: latest debian image + A13-LCD7-TS
Post by: fiuwe on October 10, 2015, 02:02:29 AM
Hi all,
I'm working on a A20-OLinuXino-MICRO with A13-LCD7-TS.
I'm quite new to boards+LCD, so maybe is a stupid question but...
I'm trying to manage the LCD backlight and I'm not able to do anything.
I thought I could try to change the light using pins value, but my export do not show any of the LCD_CON pins.

Maybe this is not the correct way...
Can anyone point me to the right direction ?

Thanks for any infos...
Title: Re: latest debian image + A13-LCD7-TS
Post by: LubOlimex on October 12, 2015, 09:27:10 AM
Hey,

The backlight is controlled by a PWM signal, you can change the backlight brightness by software means.

Try with:

echo "XX" > /sys/class/pwm-sunxi/pwm0/duty_percent

,where XX is the PWM's duty percentage - a value between 0 and 100.
,pwm0 is the PWM signal (in different boards might be different, try with pwm1 or pwm2 also)

Check this post: https://www.olimex.com/forum/index.php?topic=2862.0 (https://www.olimex.com/forum/index.php?topic=2862.0)

Best regards,
Lub/OLIMEX
Title: Re: latest debian image + A13-LCD7-TS
Post by: fiuwe on October 12, 2015, 04:18:57 PM
Thanks a lot ...
I'll try this evening  ;D ;D ;D
Title: Re: latest debian image + A13-LCD7-TS
Post by: fiuwe on October 13, 2015, 12:02:46 AM
It works ....
Thanks a lot...