Hi there !
I’m working on a gameboy custom project, as pigrrl
So, i bought a PITFT 2.8 resistive and installed on my rpi2, using a retropie 3.0 distro
Installed following adafruit's guides, works like a charm !
The only thing i wanted to do is turn off screen when i turn off retropie (via the "quit" command in the menu)
I saw some posts about gpio 18 and control backlight etc, but nothing really usefull for a newbie (me ^^)
I tryied this :
added this line : sudo sh -c "echo 508 > /sys/class/gpio/export" in rc.local
and tryied add this one : sudo sh -c "echo '0' > /sys/class/gpio/gpio508/value" in /etc/init.d/halt
But nothing (if i ssh those BANNED lines, i can control backlight, so it work)
So, any advice for a lost noob ?
Regards
PITFT 2.8r + Retropie - Turn Off screen Automatically
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- HarioH
- Posts: 2
- Joined: Sun Sep 13, 2015 1:11 pm
- adafruit2
- Posts: 22187
- Joined: Fri Mar 11, 2005 7:36 pm
Re: PITFT 2.8r + Retropie - Turn Off screen Automatically
the 'problem' is that once retropie quits, the drivers are unloaded and by default the screen stays on. you'll have to just use the on/off switch when you're done :)
- HarioH
- Posts: 2
- Joined: Sun Sep 13, 2015 1:11 pm
Re: PITFT 2.8r + Retropie - Turn Off screen Automatically
Thanks for the reply !
I will use a switch so !
I will use a switch so !
Please be positive and constructive with your questions and comments.