Quantcast
Viewing all articles
Browse latest Browse all 1264

Python • Re: Best way to run a Python Program

In general, should a relay Keep it's state after the triggering python program runs and closes?
It won't usually unless it's a "latching relay" and most aren't.

This is one of the reasons to start the program at boot and keep it running continuously with a while loop. Which is what I would also recommend.

Statistics: Posted by hippy — Tue Jul 16, 2024 4:36 pm



Viewing all articles
Browse latest Browse all 1264

Trending Articles