PiTFT Plug'n Play image, testers needed

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
User avatar
notro
 
Posts: 93
Joined: Tue Sep 11, 2012 9:59 am

Re: PiTFT Plug'n Play image, testers needed

Post by notro »

The only "problem" I have is that when console goes blank, if I touch the panel it doesn't resume. Since I've neither the keyboard nor the mouse attached to my Pi, I need to "resume" my display touching it.
Is there a way to do it?
None that I'm aware of. You need to turn off blanking, and maybe control blanking/backlight yourself.
See here: https://github.com/notro/fbtft-spindle/ ... e#blanking

If you're using X windows, some details: https://github.com/notro/fbtft-spindle/ ... -backlight

You could perhaps implement backlight control by listening to /dev/input/touchscreen and reset a timer every time an event comes, and then when the timer fires you can turn off backlight. So when the next event comes in and backlight is off, you can turn it on.
If you know python, this might be a starting point: https://pythonhosted.org/evdev/tutorial.html
Let me know if you find a solution to control backlight this way.

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”