You are reading a single comment by @Robin and its replies. Click here to read the full conversation.
  • Sorry To keep asking,

    I am seem to making some progress using a paired back node script and now rewriting in to use on the espruino, however I am stuck finding a way of making 'Buffer.from' working, Is there espruino equivalent ?

    I am looking to run this line

    const sounddata = Buffer.from([0x08, 0x00, 0x81, 0x01, 0x11, 0x51, 0x01, 0x05]);
    
  • Thanks for replying

    unfortantly it does like Array.from unless is need to done a slight different way in espruino

    Uncaught Error: Function "from" not found!
    at line 7 col 19
    var myArr = Array.from("ABCDEFG");

About

Avatar for Robin @Robin started