I am using tkinter to display some labels based on voltages I am reading. However, it stops executing after one read. I have found that it is due to root.mainloop(). But I a
An alternative solution I found to work better - just start your while loop in another thread, and use global variables. My code worked perfectly doing it that way.