TinyCircuits / TinyCircuits-Thumby-Code-Editor

https://code.thumby.us/
GNU General Public License v3.0
30 stars 20 forks source link

Fixed a bug where the IDE would abort a Fast Execute early. #31

Closed fuglaro closed 2 years ago

fuglaro commented 2 years ago

This would show in the IDE Console like this:

MicroPython v1.19.1 on 2022-06-18; Raspberry Pi Pico with RP2040
Type "help()" for more information.
>>> 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/lib/thumbyGrayscale.py", line 13, in <module>
KeyboardInterrupt: 
>
------------------------------------------------------

This was due to the IDE not recognising the OK response when it was interleaved with the prompt message, e.g:

raw REPL; CTRL-B to exit
>OK