Option 1. BrainCraft HAT Setup

If you have the BrainCraft HAT, you'll first want to head over to the Adafruit BrainCraft HAT - Easy Machine Learning for Raspberry Pi guide and go through the setup process there. This will guide you through all the pieces needed to prepare the Pi.

Option 2. PiTFT Setup

If you have just a bare PiTFT, you'll want to install the PiTFT Drivers. There is a new installer script now, so it can be installed with just a few commands. First, start by installing a few dependencies and downloading the repo:

Download: file
cd ~
sudo pip3 install --upgrade adafruit-python-shell click==7.0
sudo apt-get install -y git
git clone https://github.com/adafruit/Raspberry-Pi-Installer-Scripts.git
cd Raspberry-Pi-Installer-Scripts

Next, choose the install command based on your display. For the 2.4", 2.8", or 3.2" Resistive touchscreens, use the following command:

Download: file
sudo python3 adafruit-pitft.py --display=28r --rotation=90 --install-type=fbcp

For the 3.5" Resistive touchscreen, use the following command:

Download: file
sudo python3 adafruit-pitft.py --display=35r --rotation=90 --install-type=fbcp

For the 2.8" Capacitive touchscreen, use the following command:

Download: file
sudo python3 adafruit-pitft.py --display=28c --rotation=90 --install-type=fbcp

When you get asked to reboot, reboot!

After it reboots, you should now see text on the display.

This guide was first published on Sep 04, 2019. It was last updated on Sep 04, 2019.

This page (Display Setup) was last updated on Nov 06, 2020.