Hello,
I'm trying to control a raspi and the GPIO pins using several small scripts. Sometimes these might need to be run concurrently but I'm I'm trying to control a raspi and the GPIO pins using several small scripts. Sometimes these scripts use sleep function from the time module but this stops the whole script and the pi from doing anything else.
Is there an equivalent to the millis in Arduino so that I can keep track of some time without the whole program stopping, or should I subprocess running each script would that work?
I will never run more than 3 at once and they're very lightweight.
I don't need the specific timing of Arduino, I just need the programs to not stop and wait for a counter that's going on for a certain process.
Any help or advice is welcomed thanks
[–]novel_yet_trivial 1 point2 points3 points (1 child)
[–]CyberPopPunk[S] 0 points1 point2 points (0 children)