If you are using a Raspberry Pi 4 and have some active cooling on it such as the Pimoroni Fan Shim or Heatsink Case,
you may want to attach a 40-pin stacking header so that the pins on the PiTFT don't interfere:
Software Setup
You'll need to install the Adafruit_Blinka library that provides the CircuitPython support in Python. This may also
require enabling SPI on your platform and verifying you are running Python 3. Since each platform is a little different,
and Linux changes often, please visit the CircuitPython on Linux guide to get your computer
ready (https://adafru.it/BSN)!
Pillow Library
We also need PIL, the Python Imaging Library, to allow graphics and using text with custom fonts. There are several
system libraries that PIL relies on, so installing via a package manager is the easiest way to bring in everything:
sudo apt-get install python3-pil
NumPy Library
A recent improvement of the RGB_Display library makes use of NumPy for additional speed. This can be installed with
the following command:
sudo apt-get install python3-numpy
Install the PyPortal Library
You'll next want to install the Blinka PyPortal library. Installing this library will also install all of the dependencies, so it's
really easy to setup. Just run the following command:
pip3 install adafruit-blinka-pyportal
Stacking Header for Pi A+/B+/Pi 2/Pi 3 - 2x20 Extra Tall
Header
$2.95
IN STOCK
Add To Cart
Note this is not a kernel driver that will let you have the console appear on the TFT. However, this is handy
when you can't install an fbtft driver, and want to use the TFT purely from 'user Python' code!
If you have already installed the kernel module, you will need to remove it by running the installer and
choosing uninstall.