At L9a console.log( "buf: " + this.buffer ) What is the result?
console.log( "buf: " + this.buffer ); buf: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.... console.log( "buf-length: " + this.buffer.length ); buf-length: 5808
I also tried initializing it as Uint16, same result.
Looking at L26 L27 L30 L31, are CS and DS backwards?
I tried switching hard- and software-wise, with negative result.
@Raik 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.
I also tried initializing it as Uint16, same result.
I tried switching hard- and software-wise, with negative result.