I am fairly new to the use of Thonny. I want to plot a sine wave on the MSP207 using the ili9341 driver and the Pico.
in the front end of the code I use the following to initialize the sketch:
33 import machine
34 import math
35 import time
36 import ili9341
37 from ili9341 import ILI9341
Traceback (most recent call last):
File "<stdin>", line 37, in <module>
ImportError: can't import name ILI9341
I have ILI9341.py and ili9341.py in the Pico File Folder
What am I doing wrong?
in the front end of the code I use the following to initialize the sketch:
33 import machine
34 import math
35 import time
36 import ili9341
37 from ili9341 import ILI9341
Traceback (most recent call last):
File "<stdin>", line 37, in <module>
ImportError: can't import name ILI9341
I have ILI9341.py and ili9341.py in the Pico File Folder
What am I doing wrong?
Statistics: Posted by grenken — Sat Feb 28, 2026 8:51 pm — Replies 0 — Views 5