You are reading a single comment by @JumJum and its replies. Click here to read the full conversation.
  • Writing to SD card creates strange results.
    Sometimes file is created several times.
    Sometimes file holds strange characters.
    Sometimes readdir returns strange characters.
    Please see attached screenshot.

    var fs = require("fs");
    var i = 0;
    fs.appendFile("Juergen.json","hugo\n");
    setInterval(function(){
      digitalWrite(LED1,true);
      fs.appendFile("Juergen.json","emilio");
      setTimeout(function(){digitalWrite(LED1,false);},200);
      i++;
    },2000);
    

    1 Attachment

    • FS_Problem.JPG
About

Avatar for JumJum @JumJum started