try this but instead of the adafruit help 35r put 28r
sudo raspi-config
expand filesystem
disable overscan
force audio to 3.5mm
advanced options >> enable Device Tree
advanced options >> enable SPI >> load SPI kernel module by default
sudo reboot
---------------------------------------
sudo nano /boot/cmdline.txt ---> put this at the end on the same line fbcon=map:10
---------------------------------------
cd
curl -SLs
https://apt.adafruit.com/add-pin | sudo bash
sudo apt-get install raspberrypi-bootloader
y
sudo apt-get -y install adafruit-pitft-helper
sudo adafruit-pitft-helper -t 35r ( speed 4800000 fps 60 ) later on change in /coot/config.txt
console on display? no
gpio 23 as on off button?
------------------------------------------
This is the over lay to produce image
sudo apt-get install cmake
git clone
https://github.com/tasanakorn/rpi-fbcp
cd rpi-fbcp/
mkdir build
cd build/
cmake ..
make
sudo mkdir /usr/local/bin
sudo install fbcp /usr/local/bin/fbcp
-------------------------------------------
Instead of using the asplashscreen fix I added the boot function for fbcp to
-------------------------------------------
on its own on the second line before emulationstation is called.
sudo nano /etc/profile.d/10-emulationstation.sh
then add this
/usr/local/bin/fbcp &
----------------------------------------
To stop the cursor or blinking screen sense your there are overlapping
-------------------------------------------
sudo nano /etc/rc.local
Con2fbmap 1 0
Add this above exit 0
-------------------------------------------
/boot/config.txt
-------------------------------------------
sudo nano /boot/config.txt
hdmi_force_hotplug=1
hdmi_cvt=320 240 60 1 0 0 0
hdmi_group=2
hdmi_mode=87
dtoverlay=pitft35r,rotate=90,speed=80000000,fps=60
-----------------------------------------
This is for function get_all_modes
----------------------------------------
sudo nano /opt/retropie/supplementary/runcommand/runcommand.sh
Add the following lines to the script:
mode_new = "DMT-87"
return