From 809f19bea4e7f8623a28ffcc7a7631266c030da6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 13 Nov 2025 14:17:35 +0000 Subject: [PATCH] comments --- README.md | 4 ++++ run | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c75be36 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +files description: + deploy -- creates venv and installs python libs in it + run -- resets Generator_PCB by toggling PRi`s GPIO pin, activates venv and runs main program + diff --git a/run b/run index abff95d..3d0615b 100755 --- a/run +++ b/run @@ -1,3 +1,7 @@ #!/usr/bin/bash +#reset generator PCB +pinctrl set 26 op dl # drive PCB NRST LOW -> reset stm32 +pinctrl set 26 op dh # turn stm32 back ON + source .venv/bin/activate python3 _device_main.py