Can someone help me out with something I can't seem to wrap my head around. I have two digital inputs and one digital output. Can someone help me with a bit of code that would do as follows.
Step 1 > Input 1 = low Step 2 > Output 1 goes High Step 3 > Input 2 = goes from low to high Step 4 > Output 1 goes Low
After input 1 goes low and makes the output go high the state of input 1 doesn't matter to me. The thing I cant wrap my head around is making the output go low only on the transition of input 2 from low to high.