Wow, yes, that green LED is super-dim. It's very likely it's your battery then. The red runs off a lower voltage so would still appear bright on a low battery - it'd still be alight when the microcontroller rebooted due to lack of power.
When Espruino is working you can connect and call Puck.getBatteryPercentage() to get an idea of the amount of battery power you have left - but before then, if you don't have a volt meter, looking at the LED brightness is about all you can do.
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.
Wow, yes, that green LED is super-dim. It's very likely it's your battery then. The red runs off a lower voltage so would still appear bright on a low battery - it'd still be alight when the microcontroller rebooted due to lack of power.
When Espruino is working you can connect and call Puck.getBatteryPercentage() to get an idea of the amount of battery power you have left - but before then, if you don't have a volt meter, looking at the LED brightness is about all you can do.