Closed eliliam closed 7 months ago
...ImportError: no module named \'tft_config\'\r\n')
You need a tft_config.py (and probably a tft_buttons.py) file to configure your display. The examples/configs folder has several examples for various devices and displays.
Ah that would make sense, I'll give that a go here in just a bit and report back. What is the intended way to run these examples? It would help a lot to have a section in the readme that goes over how to run a generic example from the examples folder.
I'd love to use this project in a personal project of my own, but I'm having a hard time getting things up and running. So far, I have successfully flashed the firmware on the device and can access a REPL shell, however when I upload all of the files under the clock example and rename
clock.py
to bemain.py
on the device, and then runampy -p /dev/ttyACM0 run main.py
I get the following error:And here is the output of running
ampy -p /dev/ttyACM0 ls --recursive
to list all the files on the device:Am I doing this correctly or is there something I am missing here?