Timer and Counter Object

zuluspear's icon

Hey guys i am in need of your help - whoever can assist me. How do i use a 'timer object' to ignore a second bang?

mzed's icon

I would use delay or onebang. Do you need to use timer, specifically, or 'a timer'?

$Adam's icon

For ignoring the second bang, [onebang] is the right tool for you. For more sophisticated semaphoring (for example, if you have multiple sources giving you bangs and you just need the first one), you could give a try to [sadam.mutex] as well (see https://cycling74.com/forums/announce-the-sadam-library-version-2012-10-08 ).

Cheers,
Ádám

zuluspear's icon

@mzed, the initial plan was to use the timer to carry the count from Led 1 to Led 5 ignoring the second bang. @Siska Adam, thanks for the link to ur website i will try out da 'sadam library' - thanks guys.