• sales

    +86-0755-88291180

Raspberry Pi gamepi154-Retropie-Display configuration tutorial

Official image version
retropie-buster-4.7-xxxx.img

Board versionRaspberry Ri Zero/Zero 2/3B/4B/CM4

Download fbcp-ili9341 to your pi
git clone https://github.com/juj/fbcp-ili9341.git 
(Make sure that you download fbcp-ili9341 under path /home/pi/)

cd fbcp-ili9341

sudo mkdir build

cd build
sudo nano ../st7735r.cpp
To change like this following picture
change madctl to 0xc0 (This is rotate 90 degree the LCD)

After changing


Set LCD resolution to 240x240

After changing


Then you need to compile this project
sudo cmake -DWAVESHARE_ST7789VW_HAT=ON -DGPIO_TFT_DATA_CONTROL=25 -DGPIO_TFT_RESET_PIN=27 -DSPI_BUS_CLOCK_DIVISOR=6 -DSTATISTICS=number ..
If all work wellyou will get this following picture

sudo make -j
If all work wellyou will get this following picture

If you can not compile successfully , You can download our changed project form here
fbcp-ili9341-st7789-rotate90_211209.tar.gz
Run the display driver using
sudo ./fbcp-ili9341
Then your LCD will display well, but the Fontsize is too small
Change the LCD display resolution

sudo nano /boot/config.txt

Add the following code

hdmi_force_hotplug=1

hdmi_group=2

hdmi_mode=1

hdmi_mode=87

hdmi_cvt 480 480 60 6 0 0 0

display_rotate=0

avoid_warnings=1


Make fbcp-ili9341 work automatically when your Pi boot

sudo nano /etc/rc.local
Add the following code
sudo /home/pi/fbcp-ili9341/build/fbcp-ili9341 &


sudo reboot 
After your Pi reboot,Your LCD will display well

TAG: ESP32-C6 1.64inch AMOLED Display Development Board 280×456 1.64 inch TouchScreen Arduino IR Thermal Imaging Camera Raspberry Pi 1.3inch IPS LCD display HAT 800×480 Raspberry Pi 60GHz mmWave Radar Sensor High-Precision Human Body PCR For Arduino ESP32 ESP32 S3 4.3inch LCD (B) 800x480 Captive TouchScreen Display Board LVGL with Sensor CAN I2C RS485 Industrial USB HUB USB3.2 Gen1 One-To-4U Onboard 7~36V DC power port For Multi Systems Raspberry Pi Compute Module 5 PoE BASE A IO Board RJ45 For CM5 Lite/eMMC Raspberry Pi 15.6 inch FHD Monitor (C) LCD 1080P Capacitive TouchScreen Display Type-C/HDMI For Computer PC ESP32 P4 Development Board WIFI6 4 inch LCD Round Display 4inch TouchScreen 720×720 Dual Microphones SpotPear RV1106 Luckfox Pico Camera User Guide ESP32 Raspberry Pi 5 Case Raspberry Pi Camera Case Raspberry Pi Zero Pi0 2W Digital Photo Frame 7.3 inch E6 Full Color E Paper Ink Calendar Art Poster SpotPear ESP32-S3 1.28 Raspberry Pi 13.3 inch FHD Monitor LCD 1080P Capacitive TouchScreen Display Type-C/HDMI For Computer PC