Just tried the following:
var onInit = function () { SPI1.setup({sck:A5,miso:A6,mosi:A7}); SPI1.send([0x90],A4); };
when I call onInit() it gives
ERROR: Got EOF expected '}' at line 3 col 25 SPI1.send([0x90,0],A4); ^
Any ideas?
Using Espruino 1v44 on the HY 3.2"
@user6204 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.
Just tried the following:
when I call onInit() it gives
Any ideas?
Using Espruino 1v44 on the HY 3.2"