Ok, it sounds like that's probably not your issue then. tracklist is completely blank, which means that the Puck.write command hasn't received any data (but it appears to actually be there when you did Puck.debug = 3).
So about the only thing I can think here is that it's actually timed out waiting for a response. If you paste this into the IDE:
var t = getTime(); for (var n=0;n<36;n++) {
var f = require("Storage").open(".gpsrc"+n.toString(36),"r");
var l = f.readLine();
if (l!==undefined)
Bluetooth.println(n+","+l.trim());
} print(getTime()-t)
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.
Ok, it sounds like that's probably not your issue then.
tracklist
is completely blank, which means that thePuck.write
command hasn't received any data (but it appears to actually be there when you didPuck.debug = 3
).So about the only thing I can think here is that it's actually timed out waiting for a response. If you paste this into the IDE:
What number does it give right at the end?