From what I can tell it's flowing correctly...the true value from the digital input case structure is flowing into the while loop...obviously I'm missing something. Explain?
Hi skinner,
you're reading the DI only once before the loop!
But you need atleast 3 reading to detect your two rising edges, hence you need to read the DI in a loop...
Think about it!
Edit:
You know you can edit posts? No need to post two messages within one minute...