From a73eb30d32674761ec3f4743a41d352d9a061b9f Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 7 May 2025 18:25:30 +0200 Subject: [PATCH] update --- GPIO/control.py | 6 +++--- master.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/GPIO/control.py b/GPIO/control.py index cf2e396..01a2d85 100644 --- a/GPIO/control.py +++ b/GPIO/control.py @@ -12,9 +12,9 @@ GPIO 20 -> SARA PWR ON option 1: CLI tool like pinctrl -pinctrl set 17 op -pinctrl set 17 dh -pinctrl set 17 dl +pinctrl set 16 op +pinctrl set 16 dh +pinctrl set 16 dl option 2: python library RPI.GPIO diff --git a/master.py b/master.py index 0cb008a..8040cb2 100755 --- a/master.py +++ b/master.py @@ -132,7 +132,7 @@ def run_script(script_name, interval, delay=0): if not is_script_locked(): create_lock_file() try: - subprocess.run(["python3", script_path]) + subprocess.run(["python3", script_path], timeout=200) finally: remove_lock_file() else: