small change
This commit is contained in:
parent
0577013c17
commit
dbcbe1ccf7
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user