I'm new to posting here. I bought a Mini-TFT 240x240 display and I'm having troubles getting started.
https://www.adafruit.com/product/4484#technical-details.
I'm running a raspberry pi zero W with a fresh install of Raspberry Pi OS Lite. Here are the commands I ran on the fresh install:
- Code: Select all | TOGGLE FULL SIZE
sudo apt-get install python3-venv
python3 -m venv magic
sudo apt-get upgrade
sudo apt update
sudo apt dist-upgrade -y
source magic/bin/activate
pip3 install adafruit-circuitpython-st7789
Now, in a python 3.7 terminal when I try to import the module I get:
- Code: Select all | TOGGLE FULL SIZE
>>> import adafruit_st7789
Illegal instruction
Any ideas? I read on other forums that the illegal instruction error means the module I'm importing was compiled for the wrong OS. It's entirely possible I failed at following the instructions correctly from here https://github.com/adafruit/Adafruit_CircuitPython_Bundle.
Thanks!
Paul