Just doing the section on Deep Sleep. The book says to put the code into boot.py. Is there any reason why I couldn’t put the code in main.py?
The reason I ask.. is that I have quite a bit of code (for rendering a display on an OLED) and I also want to check for user input (my deepsleep would only be 250ms).
Thanks.
Tim