I have a program running in the background that sets pins to high/low (sets them as output).
But I want to create another program running as another process that checks the status of the pins, if they are high or low.
Is it possible to do this in a way that it won't interfere with the 1st program?