• It'll only happen for you if the board is powered from a PC (so there's an active USB connection) - if it's powered from a USB wall supply or any external power then it won't be a problem.

    You can move the console to something like Loopback with LoopbackA.setConsole(1) - but you probably want some way to move it back with USB.setConsole() when you want to interface to the device.

    Of course the other option is just to do console.log = function(){}; - but if there are other prints (for example exceptions) then that is capable of filling up the buffer as well.

About

Avatar for Gordon @Gordon started