I have a > object that after sending out a 1, sends out a 0, followed immediately by a 1 on a regular basis every 500 millisecond in response to some activity prior the the > object .
(1, -500ms- 0,1 -500ms- 0,1 -500ms- etc)
However, after > sends out the first 1, I want to filter out/ignore all 0 to 1 transitions so that a 0 is only allowed if its not followed by a 1 after a certain time, like 50 milliseconds or so.
Have not had the time to understand the first one yet, but pizza_olives patch was spot on!
But, I now realize I need to filter out the repeating 1 also (now I get one 1 every 500ms) , so im only left with the initial one, and the last 0, I should have known. Thanks again