Ok, great - that makes life a lot easier! Although I guess long-term you might want some separate thread handling network IO (it'd need some changes to the network stack). Because the network is only handled on idle, if you do while(1); then it'll never hit idle, and it wouldn't be able to read a Ctrl-C from the network to break out.
I'm afraid I just don't have time at the moment - I've got a lot of work to do on Puck.js, as well as a bunch of consultancy work that I'm just not managing to find time to get done.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ok, great - that makes life a lot easier! Although I guess long-term you might want some separate thread handling network IO (it'd need some changes to the network stack). Because the network is only handled on idle, if you do
while(1);
then it'll never hit idle, and it wouldn't be able to read aCtrl-C
from the network to break out.I'm afraid I just don't have time at the moment - I've got a lot of work to do on Puck.js, as well as a bunch of consultancy work that I'm just not managing to find time to get done.