Timer and Counter Object

Nov 12, 2012 at 6:40pm

Timer and Counter Object

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?

#65184
Nov 12, 2012 at 6:45pm

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

#234924
Nov 12, 2012 at 7:46pm

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 http://cycling74.com/forums/topic.php?id=42930 ).

Cheers,
Ádám

#234925
Nov 13, 2012 at 9:55am

@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.

#234926

You must be logged in to reply to this topic.