Nov-09-2018, 04:28 PM
Could you describe what those functions are supposed to do? If you're just writing a value out or reading something in, why is it so slow that it needs to be threaded? Or is it doing something else?
Also, this is terrifying:
Also, this is terrifying:
Quote:So you're creating an infinite number of threads, but never start any of them...t=1 while(t==1): x = threading.Thread(target=ConfirmarOna) f = threading.Thread(target=ValorAnalog) Tiempototal=Tiempo1+Tiempo2+Tiempo3 time.sleep(Tiempototal)