Yes, sadly it's a huge regression in that version of Espruino that causes it to leave off the last few characters of the function.
It should have been fixed in last night's nightly build, but because of the filename change, that hasn't appeared!
For now, type:
var onInit = function () {
SPI1.setup({sck:A5,miso:A6,mosi:A7});
SPI1.send([0x90],A4);
};123
If you add a few characters after every function definition then you'll be fine.
Sorry about that - everything is in flux at the moment. I'm trying really hard to get everything ready for KickStarter and I don't have time to make sure everything works on cutting edge git all the time.
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.
Yes, sadly it's a huge regression in that version of Espruino that causes it to leave off the last few characters of the function.
It should have been fixed in last night's nightly build, but because of the filename change, that hasn't appeared!
For now, type:
If you add a few characters after every function definition then you'll be fine.
Sorry about that - everything is in flux at the moment. I'm trying really hard to get everything ready for KickStarter and I don't have time to make sure everything works on cutting edge git all the time.