• I tried both. But in the first place i always try to copy-paste-enter it line by line in the left terminal frame.

    Connected
    >>
    =undefined
    >var s = new SPI();
    ={  }
    >s.setup({mosi:NodeMCU.D7,miso:NodeMCU.D­6,sck:NodeMCU.D5});
    =undefined
    >E.connectSDCard(s,NodeMCU.D2);
    =undefined
    >console.log(require("fs").readdirSync()­);
    ERROR: Unable to mount SD card : NOT_READY
    undefined
    =undefined
    > 
    
About