• I wonder how long the string actually was?

    Some kind of timer might be a good idea as you say - but then it screws up the low power sleep states on the proper Espruino boards as it'll be waking up every so often.

    I guess the other option is to replace if (d>0.04) { with if (d>0.04 || code.length>100) {

    Hopefully it won't add too much to the execution speed.

About

Avatar for Gordon @Gordon started