I have a problem with the startup of a system.
When a sensor [1,0] gives a high [1] signal, the main program should start, but when the sensor gives a low [0] signal I need to start for once another program, until the sensor gives a high [1] signal. Then the main program should start.