Hi all,when sent blink program, in micropython on esp32, at restart the blink does not work.
With Arduino when I program it to restart it it keeps the program and it works. How can I do that?
Thank you
ric
Boot program
Re: Boot program
Hi,
How are you sending your blink program to the board? Using the REPL?
If so, this answer might be useful to you -- viewtopic.php?f=16&t=7117
How are you sending your blink program to the board? Using the REPL?
If so, this answer might be useful to you -- viewtopic.php?f=16&t=7117
Re: Boot program
When you click the Run button in uPyCraft, it just runs the code on the device without saving it anywhere. This is super useful for getting your program working but if you want it to run automatically on boot you need to copy your code to the device's filesystem and have it run from main.py. (You can copy files to/from the device using uPyCraft)
Re: Boot program
Great! It's working. I'm trying to use also MU ide and I think it's better besides being faster.