It's explained better there, but in short the 'REPL' - the left hand side of the IDE - defaults to Serial1 when USB isn't connected, and that can stop 2-way communication on Serial1. It's an easy fix though!
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.
Hi! Thanks - I'll update the docs to remove the
.js
.I'd be pretty sure you're experiencing this issue: http://www.espruino.com/Troubleshooting#espruino-works-when-connected-to-a-computer-but-stops-when-powered-from-something-else
It's explained better there, but in short the 'REPL' - the left hand side of the IDE - defaults to Serial1 when USB isn't connected, and that can stop 2-way communication on Serial1. It's an easy fix though!