Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Touchscreen life
#2
I don't use a 'real' Pi touchscreen, but a different (smaller and cheaper) one from China. It lacks some features, but both the image quality and the touch are very good. When the screensaver kicks in, the backlight remains on. This particular screen has a switch on the back to turn on/off the backlight. So if I could somehow get a spare gpio pin to go high or low when the screen goes blank, I can switch the backlight with the help of a single transistor or FET. 
Does anybody know what command is issued to make the screen go blank? Or what to do to make an unused GPIO pin change state on screen blank? (When I say an 'unused pin' it's because I use a I2C Dac but that leaves enough pins free to use.)
Reply


Messages In This Thread
Touchscreen life - by DRONE7 - 02-07-2019, 05:28 AM
RE: Touchscreen life - by arjena - 04-21-2019, 10:25 PM
RE: Touchscreen life - by arjena - 04-23-2019, 11:23 PM

Forum Jump: