Thanks guys!<br><br>Ingo, the patch its just what i need :)<br><br>best<br><br><div class="gmail_quote">2011/6/5 Ingo <span dir="ltr">&lt;<a href="mailto:ingo@miamiwave.com">ingo@miamiwave.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
How about this:<br>
<br>
#N canvas 0 0 445 233 10;<br>
#X obj 40 31 inlet;<br>
#X obj 40 95 t b b;<br>
#X obj 67 160 spigot 1;<br>
#X msg 132 143 0;<br>
#X obj 40 58 sel \$1 0;<br>
#X msg 112 113 1;<br>
#X obj 67 187 outlet;<br>
#X text 101 34 number 0 does a reset;<br>
#X text 101 19 1st argument is the number that sends one single bang<br>
;<br>
#X connect 0 0 4 0;<br>
#X connect 1 0 3 0;<br>
#X connect 1 1 2 0;<br>
#X connect 2 0 6 0;<br>
#X connect 3 0 2 1;<br>
#X connect 4 0 1 0;<br>
#X connect 4 1 5 0;<br>
#X connect 5 0 2 1;<br>
<br>
<br>
Hope that&#39;s what you&#39;re looking for!<br>
<br>
Cheers, Ingo<br>
<br>
________________________________________<br>
Von: <a href="mailto:pd-list-bounces@iem.at">pd-list-bounces@iem.at</a> [mailto:<a href="mailto:pd-list-bounces@iem.at">pd-list-bounces@iem.at</a>] Im Auftrag von<br>
FernandoG<br>
Gesendet: Sonntag, 5. Juni 2011 08:49<br>
An: <a href="mailto:pd-list@iem.at">pd-list@iem.at</a><br>
Betreff: [PD] which object to use to resolve my problem?<br>
<div><div></div><div class="h5"><br>
Hello<br>
<br>
I need a object or an abstraction that send a unique and single bang when a<br>
incoming number reach certain defined value and do nothing while this<br>
incoming number varies in proximities of the desired value, but when<br>
incoming number return to 0 the process is reset and start again. By the<br>
way, my incoming number is an analog input from arduino board.<br>
<br>
anybody knows if there is and object to do that, or wich object i can use to<br>
build a patch to do it?<br>
<br>
thanks!<br>
<br>
</div></div></blockquote></div><br>