You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Hi,

    There shouldn't be an issue with intervals at all - you can do them years in advance.

    If you connect via Bluetooth at a later point, does it then start working again?

    You could try:

    var log = "";
    LoopbackB.on('data',function(d) { log = (log+d).substr(0,1000); });
    LoopbackA.setConsole();
    

    And then you can connect at some point later on and do print(log) - it'll then show you any messages that were written to the console while you were disconnected. It might give you a hint what's going on?

    You can also use software serial on Espruino v2:

    var s = new Serial();
    s.setup(9600,{tx:D10})
    LoopbackB.on('data',function(d) {s.write(d); });
    LoopbackA.setConsole();
    

    It's still a bit beta, but might be good enough for you to get realtime info on what's going on despite only having one serial port (which I guess you're using).

About

Avatar for Gordon @Gordon started