I've got about 7 different sensors on a machining press at work that go off when something is wrong, like the safety door being open or there being not enough material left. I'd like to program some sort of GUI that simply has the name of the sensor in a Tkinter Label and circle next to it that turns red or green depending on the state of the sensor. While I have a general grasp on the GPIO input pin programming, wrapping my head around how to program a Tkinter status bar isn't clicking and a lot of the examples I'm seeing do the opposite of what I'd like to do (controlling a physical object with a Tkinter button, rather than having a physical object control a digital interface.)
I've been going over scotty101's code located here: viewtopic.php?f=32&t=41639&sid=969e0399 ... 60#p337497
But still having a bit of trouble wrapping my head around it.