You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • It's a real shame it's not easier to iterate over the array 3 at a time! You could just use SPI.send to read all the data at once, and could convert it with the assembler.

    You might get some speed improvement by doing:

    var zzz = new Uint8Array([0,0,0]);
    sData = sData.map(function() {return ILIcalc.apply(0,spi.send(zzz))});
    
About

Avatar for Gordon @Gordon started