AnsweredAssumed Answered

Latch a zero for a set period of time?

Question asked by J3627 on Aug 13, 2014
Latest reply on Aug 14, 2014 by J3627

Desired block:

As long as input is nonzero, output should be 1.

When input is 0, even for 1 sample, output changes to 0 and stays at zero for n samples.  Even if input becomes nonzero again, the output stays latched.

Any cheap simple way to do this?

Something involving a timer and feedback to keep its input from resetting until it outputs 1?  something with a peak hold? (though that adds 19 MIPS)

Outcomes