this is how i was able to get the same screen with the waveshare board working with the juj driver...grz82 wrote: ↑Sun Jun 28, 2020 10:04 amHas anyone had any luck getting an Adafruit 1.54" 240x240 screen to work with retropie? I've used this guide several times to get other screens working (Thanks Moosepr!). I've tried both Juj's and Tasanakorn's software, and I've spent hours googling issues and still no luck. I'm guessing the lack of easily available info means this particular screen is difficult to work with, especially for beginners. Any recommendations on other 1.54" 240x240 screens? Thanks!
Code: Select all
## get the library...
git clone https://github.com/juj/fbcp-ili9341.git
## make the build dir
cd fbcp-ili9341; mkdir build; cd build
## set driver options
cmake -DSPI_BUS_CLOCK_DIVISOR=6 -DGPIO_TFT_DATA_CONTROL=25 -DGPIO_TFT_RESET_PIN=27 -DGPIO_TFT_BACKLIGHT=18 -DSTATISTICS=0 -DBACKLIGHT_CONTROL=ON -DUSE_DMA_TRANSFERS=OFF -DST7789=ON ..
## compile the driver
make -j
Code: Select all
### then you will need to add to start up
sudo nano /etc/rc.local
## add, before exit 0:
/home/pi/fbcp-ili9341/build/fbcp-ili9341 &
Code: Select all
## Display
hdmi_group=2
hdmi_mode=87
hdmi_cvt=240 240 60 1 0 0 1
hdmi_force_hotplug=1
ignore_lcd=1
framebuffer_width=240
framebuffer_height=240