Most recent activity
-
ok, so I created a fork, put in my changes, and created a pull request, according to the tutorial at
https://www.youtube.com/watch?v=e3bjQX9jIBk
-
Definitely a lot faster this way:
old: 8028 ms
new: 1543 ms
https://github.com/atmelino/MPPT/blob/master/version2_0/Espruino/develop/extFlash/projects/noyito_W25Q64.jsW25Q chips are widely available, and the instructions for the W25Q chips are pretty much the same
If you scroll to the bottom of this page:
https://github.com/Marzogh/SPIMemory/releases/tag/v3.3.0
inside the folder
SPIMemory-3.3.0/SPIMemory-3.3.0/extras
there is a spreadsheet
Winbond Flash Instructions - Comparison.xlsx
with a comparison of the instructions.I'll be happy to bring the W25Q module onto the Espruino web site (credit belongs to Dennis) when the project works (lots of changes at the moment) and then I can also add a INA3221 module (triple I2C voltage and current sensor) and a DS1307 module. If you need the modules more quickly, you can find them under the first link :-)
-
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; }
Definitely happy to see it added to Espruino! :-) Also, I added documentation that Dennis could pull in first that should make it easier to use.
https://github.com/atmelino/espruino-w25q