Hi Team,
I am using Circuit Playground Bluefruit. I am coding it with CircuitPython and using the Mu editor to run my code.py. However, now I need to run code.py automatically every time the Bluefruit is powered up. I cannot use the editor. How do I do that?
Any help will be greatly appreciated.
Thank you,
Pallabi
Running code.py automatically
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dastels
- Posts: 15659
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Running code.py automatically
code.py stored on the CIRCUITPY drive will automatically load and execute when the board is powered up or reset. That's just how CircuitPython works. All Mu does is let you edit the code and save it in that file.
Dave
Dave
- PalB09
- Posts: 18
- Joined: Thu Sep 05, 2019 10:57 am
Re: Running code.py automatically
Oh! Cool! Thank you! :)
Please be positive and constructive with your questions and comments.