Using the FT232H for running the PyPortal examples will require 3 main components. You will need the FT232H itself and a TFT display such as the 2.8" ILI9341 touchscreen breakout.
The first thing you will need to do is be sure the solderable jumpers on the back of the TFT breakout is setup to use SPI. By default, all of these breakouts are configured to use 8-bit data mode and some soldering will be required.
- 5V on the FT232H connects to Vin on the TFT
- GND on the FT232H connects to GND on the TFT
- D0 on the FT232H connects to CLK on the TFT
- D1 on the FT232H connects to MOSI on the TFT
- D4 on the FT232H connects to CS on the TFT
- D5 on the FT232H connects to D/C on the TFT
- D6 on the FT232H connects to RST on the TFT
To run the Examples off your Mac, Windows, or Linux computer, first you'll need to be sure that you have your computer set up to run Blinka. You can find more information on getting your computer set up in our CircuitPython Libraries on any Computer with FT232H guide.
Additionally, you will also need PIL and NumPy. Since the installation procedure can vary from system to system, we linked to each package's installation instructions.
This is the Python Imaging Library which is used to render the plots onto bitmaps that can be sent to the TFT display. Install instructions are here:
This is the Numerical Python library and is an open source Python library that’s the universal standard for working with numerical data in Python, and it’s at the core of the scientific Python and PyData ecosystems. This is used to quickly process graphical data so that it can be sent to the display efficiently.