diff -r 3fc4082fc6ba -r e3200e4dfa63 eric6/MicroPython/MicroPythonDevices.py --- a/eric6/MicroPython/MicroPythonDevices.py Thu Jul 18 20:30:03 2019 +0200 +++ b/eric6/MicroPython/MicroPythonDevices.py Sat Jul 20 14:46:15 2019 +0200 @@ -280,9 +280,10 @@ @type list of str """ rawOn = [ # sequence of commands to enter raw mode - b'\x02', # Ctrl-B: exit raw repl (just in case) - b'\r\x03\x03', # Ctrl-C twice: interrupt any running program - b'\r\x01', # Ctrl-A: enter raw REPL + b'\x02', # Ctrl-B: exit raw repl (just in case) + b'\r\x03\x03\x03', # Ctrl-C three times: interrupt any running + # program + b'\r\x01', # Ctrl-A: enter raw REPL ] newLine = [b'print("\\n")\r', ] commands = [c.encode("utf-8)") + b'\r' for c in commandsList]