Follow these steps to use a 3.5 inch touchscreen on your rPi.
- Update your system with
sudo apt-get update && sudo apt-get upgrade
- Start
raspi-config
and go toInterfacing Options
and enable the SPI interface. - Download LCD-show van Github:
cd ~
sudo rm -rf LCD-show
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show - Enter the folder you just cloned with
cd LCD-show
Now all you have to do is start the script for your LCD type.
For a 3.5″ display you runsudo ./LCD35-show
The system will install/setup the LCD and reboot with the LCD as display.
To switch back to HDMI:
To use the HDMI port again, go to the LCD-show
folder and runsudo ./LCD-hdmi
to switch back to HDMI.
Links
raspberrytips.nl circuitdigest.com github.com/goodtft/LCD-show