You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Yes, you can detect the error at least - but obviously you can't stop it overflowing.

    To test, you can do something like t=getTime()+10;while (getTime()<t); while uploading to RAM - so forcing the code (which executes on upload) to pause for 10 seconds - then you need to send lots (1k?) of data after that.

    I actually hit this issue yesterday, so the absolute latest builds of Espruino (and 2v05+ when released) will now have XON/XOFF flow control built in.


Avatar for Gordon @Gordon started