Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4966

Raspberry Pi OS • Re: Shutdown on startup

$
0
0
ok - I think I got it. So simple - added time.sleep(100) to startup and added a test counter in shutdown that tests if it is in fact time to shut down. If not loop through main code (which updates time). If you don't hear from me again - it worked! Thanks again.

Statistics: Posted by stevensarns — Fri Aug 02, 2024 4:24 pm



Viewing all articles
Browse latest Browse all 4966

Trending Articles