• setTimeout("doInit();",2000);
    

    change to:

    setTimeout(doInit,2000);
    

    then it works on my Espruino.
    setTimeout() don't like a string, then it don't call doInit() and therefor it don't require fs and we get DISK_ERR
    Edit:
    It only reached 102 before DISK_ERR came back. Then there was a 30 DISK_ERR before continuing.

About

Avatar for Frida @Frida started