You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • On the JS side, you could do something like:

    var names = ["foo","bar","..."];
    var obj = {}
    names.forEach(function(n,i) { obj[n] = parseInt(rcv.substr(8*i,8),2); });
    

    could be a really neat tidy way of making an object with your data?

About

Avatar for Gordon @Gordon started