You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Do you think it could be a problem with the software SPI when the Espruino goes in sleep mode?

    Are you using setDeepSleep(1)? I doubt it'd be a software SPI issue, but that will stop Espruino from receiving Serial data when it's asleep. Without it, it should be ok though.

    Warning message

    Well, that's telling you you're out of memory - but you're saying you don't get that without the LoopbackA.setConsole() (I assume that's what you meant, and not setConsole(LoopbackA); that you wrote?).

    I guess the only possibility there is that LoopbackA loops characters back to LoopbackB, which then stores (up to 512) of them. Any more get dropped off the end.

    If you were very short on memory I guess those extra 512 chars could cause you problems?

About

Avatar for Gordon @Gordon started