• It is a little bit strange. When I upload the code and write save() in the console. Everything is working well. But when I call reset(); and load(); then I get DISK_ERR, but not directly.

    I do the following:

    function onInit() {
      var spi = new SPI();
      spi.setup({mosi:B14,miso:B15,sck:B13});
      E.connectSDCard(spi, A8);
      eval(require('fs').readFile('code.js'));
    }
    

    In the code.js there are subsequent file access routines.

About

Avatar for net-tobi @net-tobi started