small change

This commit is contained in:
Alexander Richter 2023-07-23 10:50:52 +02:00
parent 0577013c17
commit dbcbe1ccf7

View File

@ -287,8 +287,6 @@ def managageOutputs():
while True: while True:
time.wait(0.01)
if(arduino.in_waiting()>0):
try: try:
data = arduino.readline().decode('utf-8') #read Data received from Arduino and decode it data = arduino.readline().decode('utf-8') #read Data received from Arduino and decode it
if (Debug):print ("I received:{}".format(data)) if (Debug):print ("I received:{}".format(data))
@ -400,3 +398,5 @@ while True:
if (Debug):print("keepAlive") if (Debug):print("keepAlive")
event = time.time() event = time.time()
time.wait(0.01)