So I am attempting to write a piece of code that allows python to control GPIO pins on a Raspberry Pi using a timer that runs concurrently with a main program.
Here i