From 07700a2dde6900ffa6b07c945759faeab408a0a4 Mon Sep 17 00:00:00 2001 From: Jens Ullmert Date: Wed, 27 Jul 2022 17:03:23 +0200 Subject: [PATCH] DMXSLP mitnehmen, sonst dauer read --- Python/sock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Python/sock.py b/Python/sock.py index 9b929c7..f0a935f 100644 --- a/Python/sock.py +++ b/Python/sock.py @@ -99,6 +99,7 @@ def sendDMX(data): #continuously sending the signal; to receive changed values: Threading global DMXRDMFLAG global DMXRDM + global DMXSLP while True: with serial.Serial('/dev/serial0', baudrate=250000, timeout=DMXSLP, stopbits=serial.STOPBITS_TWO, bytesize=8) as DMXSER:# UART configuration and definition