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, powered by microcosm.
Report a problem