You are reading a single comment by @JumJum and its replies. Click here to read the full conversation.
  • Good point,
    I added cs off / cs on during reading from sdCard
    With a constant color this works now, but ...

    • if color is red, it works fine
    • if color is green I get "Error: Invalid Pin!"

      var c = 0x07e0; //Error: Invalid Pin!
      var c = 0xf800; // works fine
      for(var i = 0; i < img.height; i++){
        ce.write(1);
        bmp = E.toArrayBuffer(file.read(img.width + img.width));
        ce.write(0);
        for(var j = 0; j < 32; j++){spi.send(c>>8,c);}
      }
      
      
About

Avatar for JumJum @JumJum started