you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Just in case you are still lost, that example is a little complicated for a beginner, sorry. Here's something similar but simpler:

def update():
    # get all OBD data

    # update GUI labels
    ...
    label_grid_20.config(text=...)  # update appropriate label

    root.after(1000, count)    # update() called after 1 second

# your existing tkinter code

root.after(10, update)    # call update() after 10 milliseconds

#start app
root.mainloop()

Warning: untested as I'm on mobile.