User Manual

CircuitPython Displayio Quickstart
You will need a board capable of running CircuitPython such as the Metro M0 Express or the Metro M4 Express. You
can also use boards such as the Feather M0 Express or the Feather M4 Express. We recommend either the Metro M4
or the Feather M4 Express because it's much faster and works better for driving a display. For this guide, we will be
using a Feather M4 Express. The steps should be about the same for the Feather M0 Express or either of the Metros. If
you haven't already, be sure to check out our Feather M4 Express (https://adafru.it/EEm) guide.
Preparing the Breakout
Before using the TFT Breakout, you will need to solder the headers or some wires to it. Be sure to check out
the Adafruit Guide To Excellent Soldering (https://adafru.it/drI). After that, the breakout should be ready to go.
Required CircuitPython Libraries
To use this display with displayio , there is only one required library.
https://adafru.it/FvR
https://adafru.it/FvR
First, make sure you are running the latest version of Adafruit CircuitPython (https://adafru.it/Amd) for your board.
Next, you'll need to install the necessary libraries to use the hardware--carefully follow the steps to find and install
these libraries from Adafruit's CircuitPython library bundle (https://adafru.it/zdx). Our introduction guide has a great
page on how to install the library bundle (https://adafru.it/ABU) for both express and non-express boards.
Remember for non-express boards, you'll need to manually install the necessary libraries from the bundle:
adafruit_st7789
Before continuing make sure your board's lib folder or root filesystem has the adafruit_st7789 file copied over.
Code Example Additional Libraries
For the Code Example, you will need an additional library. We decided to make use of a library so the code didn't get
overly complicated.
Adafruit Feather M4 Express - Featuring ATSAMD51
$22.95
IN STOCK
ADD TO CART
© Adafruit Industries https://learn.adafruit.com/2-0-inch-320-x-240-color-ips-tft-display Page 18 of 27