I would like to use repl.py to run a "virtual repl" after code.py runs on boards that aren't connected to a host PC and have an alternate input method not supported by the core (serial matrix/i2c keyboard, touch screen, etc) but currently after code.py finishes the
Press any key to enter the REPL. Use CTRL-D to reload.
message is displayed and unless an input device supported by the core is connected Circuit Python is done.
I think the advantage of this would be that as I understand it code.py runs in it's own "memory space"? which get's reset when it's done running so the "virtual repl" would be running in a new clean memory space without any overhead from the original code.py program.
I would like to use
repl.pyto run a "virtual repl" after code.py runs on boards that aren't connected to a host PC and have an alternate input method not supported by the core (serial matrix/i2c keyboard, touch screen, etc) but currently aftercode.pyfinishes themessage is displayed and unless an input device supported by the core is connected Circuit Python is done.
I think the advantage of this would be that as I understand it
code.pyruns in it's own "memory space"? which get's reset when it's done running so the "virtual repl" would be running in a new clean memory space without any overhead from the originalcode.pyprogram.