• Ok, thanks for the clarification - that explains the echo(0). If that's the case then what you're doing is fine.

    Are you definitely sending newline characters after each line? I notice there's an explicit \n at the end - and if that's the only newline then you might be overflowing Espruino's available memory (or not actually executing echo(0) until after the code has already been uploaded).

    Please could you try connecting and uploading with the Web IDE and see if that makes any difference? It could well be that there's an issue with your code upload from Noble, and using tools that we know work would help to narrow down where that problem is.

About

Avatar for Gordon @Gordon started