I have a programme running timers for lenses for exposure time and i need to be able to update the colour of a label depending on the status of a GPIO input. If i start a function to check the GPIO status it doesnt continue to the rest of the code. How do you call a function to check GPIO inputs without freezing the remainder of the code. Is there a sample programme i can adapt?
I have called a function check GPIO but this call then stops the rest of the code running should i be using threading for this
2