I use console.log for debugging purpose, when the board is unplugged but powered, the prog stop after a while because of the fullness (sorry for the word) of the buffer.
Is there a way to kill output if usb is unplugged? (I'm a lazy guy and don't want to comments all my console.logline.😱)
I suppose there is something to write in the onInit()...
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.
Hello.
I use console.log for debugging purpose, when the board is unplugged but powered, the prog stop after a while because of the fullness (sorry for the word) of the buffer.
Is there a way to kill output if usb is unplugged? (I'm a lazy guy and don't want to comments all my console.logline.😱)
I suppose there is something to write in the onInit()...
Many Thanks
é.