right now i need to write the following to create a working SPI object
var spi = new SPI(); // or SPI1, 2,3 spi.setup(options);
i would like to be able to use
var spi = new SPI().setup(options); // or even better var spi = new SPI(options);
maybe there is some downside to my approach, i would like to know it :-)
@MichaelPralow started
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.
right now i need to write the following to create a working SPI object
i would like to be able to use
maybe there is some downside to my approach, i would like to know it :-)