Ahh - yes, you're right - that's just because the console is still using it.
You just need to move it out the way. Easiest is to use LoopbackA (which loops back output to LoopbackB).
Just be sure to do that as either the last thing you upload, or on some other input. (eg buttonpress or delay) - because once the console has moved anything after will get ignored.
You can just do Bluetooth.setConsole() to move the console back, so you could have that happen on buttonpress (or sending some specific data) to allow the IDE to reconnect.
© Espruino, powered by microcosm.
Report a problem