This is a precompiled driver for the ILI9342 driver on 2.3" and 2.6" TFT LCD
This is a 4 IO SPI pin mapping for Raspberry Pi 2/3/Zero
| Function | RPI PIN | GPIO |
|---|---|---|
| RESET | 22 | GPIO25 |
| CSX | 24 | CEO/GPIO8 |
| SCL | 23 | SCLK/GPIO11 |
| D/CX | 18 | GPIO24 |
| SDI | 19 | MOSI/GPIO10 |
Notes: sometimes you will find that the above pins do NOT have corresponding pins on the TFT ribbon cable. This is due to different naming convenstion from different manufacturers
Here is a list of possible pin names and swaps
| Function | Possible Pin Name |
|---|---|
| RESET | RESET, RST |
| CSX | CS, CSX, CX |
| SCL | RS, RSX, RX |
| D/CX | DC, WR, WRX, WX |
| SDI | SDI |
Once you decide which OS you will be playing with the instructions are a little different
Grab the driver file and save it locally to you computer
Linux Distro
Drop the driver file into the /home/pi directory
SSH into your Pi
cd ..
sudo chmod +x fbcp-ili9342Test the drive
sudo ./fbcp-ili9342If all has gone well and you have your display running. Let's make sure this happens automagically on start up by editing rc.local file
sudo nano /etc/rc.localAdd this above the exit 0 line, should look like below
sudo /home/pi/fbcp-ili9342 &
exit 0Save and reboot
Because Arch
Drop the driver file into the /storage directory
SSH into your Pi
chmod +x fbcp-ili9342
Test the drive
./fbcp-ili9342If all has gone well and you have your display running. Let's make sure this happens automagically on start up by editing autostart.sh file
nano /storage/.config/autostart.shIt will be an empy file. Simply add the line below
/storage/fbcp-ili9342 &Save and reboot
Find me on the internet and lets chat

