I was playing with the Terminal.println("hello world");
Am I right to expect that when E.setConsole("Terminal") or Terminal.setConsole(), it says the REPL is connected to this new 'serial port'.
So if my code has an error, which I would usually see on left in ide, eg. syntax error. The error should now be displayed on the emulator screen?? Cos I cannot see that behavior, but mb its cos the emulator kinda freezes once an error occur and I have to refresh page?
Also ... am I correct in expecting console.log to transfer to the connected serial??
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.
I was playing with the
Terminal.println("hello world");
Am I right to expect that when
E.setConsole("Terminal")
orTerminal.setConsole()
, it says the REPL is connected to this new 'serial port'.So if my code has an error, which I would usually see on left in ide, eg. syntax error. The error should now be displayed on the emulator screen?? Cos I cannot see that behavior, but mb its cos the emulator kinda freezes once an error occur and I have to refresh page?
Also ... am I correct in expecting
console.log
to transfer to the connected serial??