leerzeichentabfehler

This commit is contained in:
Jens Ullmert 2022-07-27 17:05:39 +02:00
parent 07700a2dde
commit fc6ec02704

View File

@ -99,8 +99,8 @@ def sendDMX(data):
#continuously sending the signal; to receive changed values: Threading #continuously sending the signal; to receive changed values: Threading
global DMXRDMFLAG global DMXRDMFLAG
global DMXRDM global DMXRDM
global DMXSLP global DMXSLP
while True: while True:
with serial.Serial('/dev/serial0', baudrate=250000, timeout=DMXSLP, stopbits=serial.STOPBITS_TWO, bytesize=8) as DMXSER:# UART configuration and definition with serial.Serial('/dev/serial0', baudrate=250000, timeout=DMXSLP, stopbits=serial.STOPBITS_TWO, bytesize=8) as DMXSER:# UART configuration and definition
#DMXSER.cancel_read() #DMXSER.cancel_read()