You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • +Gordon is always encouraging people who expand or enhance Espruino to contribute it back to the repo. How does your implementation interact with setTimeout?

    I think Gordon could advise on how to best integrate it with Espruino. The way deepsleep is implemented on the "normal" Espruinii (ones based on STM32) is that you just "turn on" deep sleep, and the then it wakes up every few seconds (was it 3? 8? some single digit number of seconds) very briefly at that interval, checking for things to execute.


Avatar for DrAzzy @DrAzzy started