You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • The only odd thing is I currently have E.toArrayBuffer, which only works on strings. toString/toUint8Array would be a little different I guess.

  • Maybe it should modify the constructor? "new Uint8Array(1,[3,4],"Hello");" sounds pretty reasonable, and it's also consistent with how you let multiple arguments go to the I2C.writeTo() for data - but there's no obvious way to do that for strings, which speaks in favor of the E.toString/toUint8Array..

About

Avatar for Gordon @Gordon started