• I started using this module for my project-works great. Initially I called the read function in a loop to read a page, then I found out that you can call the seek function once and consecutive reads will advance automatically. Much faster!

    W25Q.prototype.readPage = function (page) {
      var x = new Uint8Array(256);
      this.seek(page, 0);
      for (i = 0; i < 256; i++) {
        x[i] = this.spi.send(0);
      return x;

Avatar for atmelino @atmelino started