Im using the Arduino2Max patch to drive the jit.pwindow visualization with an IR sensor.
The patch works fine when using one IR sensor, but I want to now add a further 2 sensors so that I have 3 in total. I have connected the 1st and 2nd sensors to my Arduino board via a breadboard, and have independant readings from each sensor on pins 2 and 3.
I then copied the whole of the original patch, and replaced the pin 2 input reading to the pin 3 input reading, expecting the new visualization to react to the 2nd sensor.
The problem is that now both patches react to the inputs from both sensors, so they look exactly the same, and obviously I want each visualization to react only to its corresponding sensor.