05-23-2006 02:39 PM
05-23-2006 05:16 PM
Hello
Here is one that does this. I'm not completely sure how and when it should be reset. My version resets when it reaches 2 (outputs zero for FALSE input) and is incremented again for TRUE input. For continous TRUE input, the output will only be 1 and 2. A zero is only seen when incremented to 2 and a FALSE input comes as input.
The counter_mod is the counter and the main is just to see if it worked.
05-23-2006 05:16 PM