Python code will not run only .UF2
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- rmerlo
- Posts: 2
- Joined: Mon Feb 15, 2021 1:02 pm
Python code will not run only .UF2
i have loaded the Circuit Python drivers and have my lib set up correctly in just wondering why I can't save from Mu to my clue? it will only run the code.py output: Hello World!
- dastels
- Posts: 15659
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Python code will not run only .UF2
You need to replace code.py on the CLUE. CircuitPython looks for code.py and main.py, in that order. The first it finds gets loaded and executed.
Dave
Dave
- rmerlo
- Posts: 2
- Joined: Mon Feb 15, 2021 1:02 pm
Re: Python code will not run only .UF2
Can you elaborate a little more?? I tried to delete the code.py and replace it with my code. The clue just says code done running. Thank you!
- dastels
- Posts: 15659
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Python code will not run only .UF2
Can you post your code.py?
Dave
Dave
Please be positive and constructive with your questions and comments.