#This code doesn t appear to have any

1 messages · Page 1 of 1 (latest)

loud lark
#

I appreciate you for putting in the time and effort to help me btw. Attached is the entire circuit python folder that is on my circuit board. And the other pictures are all the documents located even further in the folders in the Circuitpty folder.

sly horizon
#

I think you don't need (and shouldn't have) the CircuitPython 8.x folder on your device. code.py should be in the root of CIRCUITPY not inside of any other directories.

#

lib/ directory as well needs to be in the root of the drive, not inside of any other folder.

#

You're seeing "Code done running" because it's looking for code.py in the root of the drive and not finding it so it's considering it's work done. It will only launch code.py if it finds it in the root directory.

random cloud
#

Also, your code has a while True: loop. It should not say "Code done running"

loud lark
#

When you say "root", do you mean the bootloader. I just uploaded the CircuitPython 8.x onto the bootloader along with reuploading the UF2 file. And the serial console says the code is running. But no changes to the TFT have been made still. I will also try to edit the "code done running" and see if that works

random cloud
#

D:/ - the root of your CIRCUITPY drive

#

Edit "code done running"?? That is generated by the CircuitPython runtime.

#

Definitely need to get rid of the "CircuitPython 8.x" directory.