latest debian image + A13-LCD7-TS

Started by fiuwe, October 10, 2015, 02:02:29 AM

Previous topic - Next topic

fiuwe

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...

LubOlimex

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

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

fiuwe

Thanks a lot ...
I'll try this evening  ;D ;D ;D

fiuwe