I'm afraid there isn't a nice way at the moment, no... By the way, that waveform will only be 10 items long (you need new Waveform(10, {bits:16});).
If you dumped the Waveform in one long row:
var w = new Waveform(10, {bits:16});
w.on("finish", function(buf) {
console.log(buf.join("\t"));
});
w.startInput(A0,1000,{repeat:false});
you might find it easier to copy? But then you just have to swap it around in Excel (although it looks like Excel might have a 'paste transposed' option)
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'm afraid there isn't a nice way at the moment, no... By the way, that waveform will only be 10 items long (you need
new Waveform(10, {bits:16});
).If you dumped the Waveform in one long row:
you might find it easier to copy? But then you just have to swap it around in Excel (although it looks like Excel might have a 'paste transposed' option)