I'm working on a color tracking patch and ran into a rather basic problem.
I would like for my patch to produce a bang when it identifies an int 0 from both the X and Y axis.
The trick is I want this to happen only after one second of a constant 0 (from the X and Y).
the result would be that if I am tracking a color and it disappears from the screen for more than one second I would get a bang.
I'm thinking this should be done with some sort of delay but I couldn't figure it out yet so I thought I should ask the good people of this forum.