Reset counter to zero when udpreceive data stops?
I have a stream of data coming in from a udpreceive (from FaceOSC facial recognition software).
I'm using a counter object to count the number of times I blink.
I trying to get the counter to reset to zero every time data stops flowing from the udpreceive, so that the counter starts afresh when a face is no longer recognised.
Any suggestions?
Bang delay together with counter.
Set delay to expected pause between messages.
Delay out - to reset counter.