<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
what form is this coming into pd in? <br><br>If it's a list (such as (door_crossing in) or (door_crossing out))<br><br>then you could parse it down with routes<br><br>e.g. <br>[route door_crossing] (removes the first item in the list, if it's door_crossing)<br>|<br>[sel in out] (the first two inlets will be a bang if it's in or out respectively)<br><br>Not sure how else you might be getting the data into pd<br><br>&gt; From: jbvidigal@gmail.com<br>&gt; Date: Tue, 17 Aug 2010 13:45:53 +0100<br>&gt; To: pd-list@iem.at<br>&gt; Subject: [PD] Bang order entry<br>&gt; <br>&gt; Hi again.<br>&gt; Here goes another problem!<br>&gt; <br>&gt; Ok. So I'm working with Arduino firmata here... <br>&gt; To expose to problem in a simple way, I have 2 sensors that are detecting a door crossing.<br>&gt; The 2 detectors give an order to the door crossing: coming in or going out.<br>&gt; Now I just don't know how I can translate that to bang 2 different [bang( depending on if someone's comming in or going out!<br>&gt; <br>&gt; Can you help me with that!?<br>&gt; Thanks<br>&gt; <br>&gt; Joao Vidigal<br>&gt; _______________________________________________<br>&gt; Pd-list@iem.at mailing list<br>&gt; UNSUBSCRIBE and account-management -&gt; http://lists.puredata.info/listinfo/pd-list<br>                                               </body>
</html>