here is the code provided as module, after some tests with the 3-wire SPI mode i will write the module.md documentation and create a pull request
major changes
uses Graphics.createArrayBuffer, without the need for an extra
buffer
reduced footprint with removing all COMMAND constants, to
help users, all commands are written into function documentation -
which afaik is not part of the minified module version
shortened function names for those functions a user should not need for normal usage
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
here is the code provided as module, after some tests with the 3-wire SPI mode i will write the module.md documentation and create a pull request
major changes
buffer
help users, all commands are written into function documentation -
which afaik is not part of the minified module version
1 Attachment