Ahh. That's likely... Try LoopbackA.setConsole() on onInit. That'll move the console from Serial1 so it doesn't get in the way of the HM-10.
That'll make it hard to program the board a second time after you have saved the code (you need the reset + btn1 trick), so you could try checking process.env and only changing the console if it is not set to 'USB'.
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.
Ahh. That's likely... Try
LoopbackA.setConsole()
on onInit. That'll move the console from Serial1 so it doesn't get in the way of the HM-10.That'll make it hard to program the board a second time after you have saved the code (you need the reset + btn1 trick), so you could try checking process.env and only changing the console if it is not set to 'USB'.