placing the board in an angle does not change anything.
Adding a line
SPI1.setup({sck:A5, miso:A6, mosi:A7});
did not change anything.
On any call to read register I get back [0,0];
for(var i = 0;i < 63; i++){console.log(i,SPI1.send([i+128,0], E3));}
Adding a wait between each call did not change anything
BTW, testing same with SPI2 gives same result. Is there any way to recognize connected SPI devices ?
2ndBTW, dump returns this(and a lot of other lines)
SPI1.setup({sck:A5, miso:A6, mosi:A7});
pinMode(A6,input_pullup);
pinMode(B14,input_pullup);
digitalWrite(E3,1);
Where is B14 comin from ?
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.
SPI1.setup({sck:A5, miso:A6, mosi:A7});
did not change anything.
for(var i = 0;i < 63; i++){console.log(i,SPI1.send([i+128,0], E3));}
BTW, testing same with SPI2 gives same result. Is there any way to recognize connected SPI devices ?
2ndBTW, dump returns this(and a lot of other lines)
SPI1.setup({sck:A5, miso:A6, mosi:A7});
pinMode(A6,input_pullup);
pinMode(B14,input_pullup);
digitalWrite(E3,1);
Where is B14 comin from ?