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()