How about this:
#N canvas 0 0 445 233 10; #X obj 40 31 inlet; #X obj 40 95 t b b; #X obj 67 160 spigot 1; #X msg 132 143 0; #X obj 40 58 sel $1 0; #X msg 112 113 1; #X obj 67 187 outlet; #X text 101 34 number 0 does a reset; #X text 101 19 1st argument is the number that sends one single bang ; #X connect 0 0 4 0; #X connect 1 0 3 0; #X connect 1 1 2 0; #X connect 2 0 6 0; #X connect 3 0 2 1; #X connect 4 0 1 0; #X connect 4 1 5 0; #X connect 5 0 2 1;
Hope that's what you're looking for!
Cheers, Ingo
Von: pd-list-bounces@iem.at [mailto:pd-list-bounces@iem.at] Im Auftrag von FernandoG Gesendet: Sonntag, 5. Juni 2011 08:49 An: pd-list@iem.at Betreff: [PD] which object to use to resolve my problem?
Hello
I need a object or an abstraction that send a unique and single bang when a incoming number reach certain defined value and do nothing while this incoming number varies in proximities of the desired value, but when incoming number return to 0 the process is reset and start again. By the way, my incoming number is an analog input from arduino board.
anybody knows if there is and object to do that, or wich object i can use to build a patch to do it?
thanks!