module:micropython:multiprocessexecution:multiprocessexecution01v01
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| module:micropython:multiprocessexecution:multiprocessexecution01v01 [2021/12/14 16:16] – [Benutzung] omdevelop | module:micropython:multiprocessexecution:multiprocessexecution01v01 [2022/09/13 11:58] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| ===== Übersicht ===== | ===== Übersicht ===== | ||
| + | **CountUp.py** und **CountDown.py** sind zwei Python-Scripts, | ||
| + | * als Dateien im Esp32-MicroPython-FileSystem vorhanden sind und | ||
| + | * jeweils in einem eigenen Thread PARALLEL ablaufen und | ||
| + | * dabei auf eine (globale) System-Ressource (Counter in System.py) R/ | ||
| ===== Benutzung ===== | ===== Benutzung ===== | ||
| VSCode-MicroPython-Terminal: | VSCode-MicroPython-Terminal: | ||
| Line 50: | Line 53: | ||
| *** Check Esp32MultiProcessExecution: | *** Check Esp32MultiProcessExecution: | ||
| >>> | >>> | ||
| + | </ | ||
| + | |||
| + | Globale System-Ressourcen **System.py** | ||
| + | <code python> | ||
| + | # | ||
| + | # Global - Variable | ||
| + | # | ||
| + | Counter = 0 | ||
| + | # | ||
| </ | </ | ||
| Line 214: | Line 226: | ||
| ===== Version ===== | ===== Version ===== | ||
| - | {{: | + | {{: |
| ----- | ----- | ||
module/micropython/multiprocessexecution/multiprocessexecution01v01.1639494992.txt.gz · Last modified: 2021/12/14 17:16 (external edit)