Running your program without CTRL-D from REPL
-
Is it possible from the REPL to run one python program that you are debugging without doing the soft reset. I am trying to run the SD demo program (SD_01.py) and while it works putting in one line at the time at the REPL it will not work from a soft reset. After the soft reset the demo program does start as I have a print statement in it but the process of connecting to the WiFi in STA mode seems to go on a bit with the connecting process sending back info even after I have started the SD_01.py program. If I could avoid doing a soft reset each time I want to run SD_01.py it would be great.
Booted in STA mode WiFi setup... In SD_01... I (12159867) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:6 I (12159867) wifi: state: init -> auth (b0) I (12159869) wifi: state: auth -> assoc (0) I (12159873) wifi: state: assoc -> run (10) I (12159905) wifi: connected with PBM, channel 1 I (12169873) wifi: pm start, type:0
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login