From fc6ec02704c4d5ad8026da287b61f7c9ce2894ee Mon Sep 17 00:00:00 2001 From: Jens Ullmert Date: Wed, 27 Jul 2022 17:05:39 +0200 Subject: [PATCH] leerzeichentabfehler --- Python/sock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Python/sock.py b/Python/sock.py index f0a935f..bd6de2f 100644 --- a/Python/sock.py +++ b/Python/sock.py @@ -99,8 +99,8 @@ def sendDMX(data): #continuously sending the signal; to receive changed values: Threading global DMXRDMFLAG global DMXRDM - global DMXSLP - + 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 #DMXSER.cancel_read()