You are reading a single comment by @JumJum and its replies. Click here to read the full conversation.
  • I'm working on a function to draw bmp-files to ILI9341 display.
    Idea is to read bmp file from local drive and send to display.

        for(var i = 0; i < img.height; i++){
          bmp = E.toArrayBuffer(file.read(img.width + img.width));
          spi.send(bmp.buffer);
        }
    
    

    Data sent to SPI is somehow corrupted.
    Checked sending color red and its corrupted.
    Uncommented file.read and its working fine.

    Is there a problem using sdCard and SPI2 at the same time ?

About

Avatar for JumJum @JumJum started