Thanks for that hint, maybe I should think about a soft power button then. I hadn't considered that yet, because it might drain the battery.
But that could also mean that I have to switch power for peripherals with a transistor since they might drain the battery much faster than just the Espruino in deep sleep.
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.
Thanks for that hint, maybe I should think about a soft power button then. I hadn't considered that yet, because it might drain the battery.
But that could also mean that I have to switch power for peripherals with a transistor since they might drain the battery much faster than just the Espruino in deep sleep.