I have seen it do a restart. When I had the program saved it ended up stuck in the end. Without anything saved it came back up with its original 'Puck.js a000' bluetooth name!
Could that mean the battery is being depleted and coming back up after a while? I see the battery measure going down reasonably fast, enough to reach zero in a 6-8 hours.
Later on battery levels show higher levels again. Does setting Bluetooth search and advertising take that much battery? More than the cell can deliver constantly. That wouldn't be too bad as it is doing the check every 4 seconds now, could be every 4 hours later...
Will upgrade the firmware and set it off running now.
Nothing wrong in my code, now that is unexpected :)
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.
I have seen it do a restart. When I had the program saved it ended up stuck in the end. Without anything saved it came back up with its original 'Puck.js a000' bluetooth name!
Could that mean the battery is being depleted and coming back up after a while? I see the battery measure going down reasonably fast, enough to reach zero in a 6-8 hours.
Later on battery levels show higher levels again. Does setting Bluetooth search and advertising take that much battery? More than the cell can deliver constantly. That wouldn't be too bad as it is doing the check every 4 seconds now, could be every 4 hours later...
Will upgrade the firmware and set it off running now.
Nothing wrong in my code, now that is unexpected :)