Ending a 'mpremote run' script with Ctrl-C? #17118
Unanswered
scruss
asked this question in
Using MicroPython
Replies: 1 comment 4 replies
-
The way I've been doing this is to start a REPL, then press CTRL+C. The code stops and the >>> prompt appears. Then I have to CTRL+X to get out of the REPL. A lot of manual steps, but it works. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A question from the Raspberry Pi forum: interrupt Pico code started by mpremote. The OP wishes to have Ctrl-C stop the script when mpremote is exited. There doesn't seem to be a clean way to do this.
One possible way to do this is by chaining two commands, but it's a bit ugly:
Can mpremote be configured to exit and stop the running script on Ctrl-C?
Beta Was this translation helpful? Give feedback.
All reactions