Splitting the values of two sensors in Pure Data

Hi everyone,

I am trying to split the data of two sensors in Pure Data. I am using a electret microphone and a flexi-froce resistor. The arduino unit is an uno.

Here is a link for the data sheet for the mic:

The mic is connected to A0 and the flexi-force resistor to A2
Both sensors are sharing the voltage and ground.

In Pure Data I am using the [comport] object if any of you know Pure Data.

I tried using the Firmata library with Pduino but finding it difficult to get it working. Only one input seems to be giving reliable data.
http://playground.arduino.cc/Interfacing/Firmata
http://playground.arduino.cc/Interfacing/PD

How does the Firmata script split the data from the inputs so that in Pure Data you can route them out of different outputs?

Essentially can I assign names to the two values i.e 0: 255 , 1: 255 so then in Pd I can route them to two outputs?

/****************************************

****************************************/
const int sampleWindow = 50; // Sample window width in mS (50 mS = 20Hz)
unsigned int sample;
int squeezePin = A2; //
int flex = -1; // 0..1023 //
void setup()
{
Serial.begin(9600);
}
void loop()

{
  {
   // setting squeezePin to the name flex
   flex = analogRead (squeezePin); //
  }
// setting up the microphone
unsigned long startMillis= millis(); // Start of sample window
unsigned int peakToPeak = 0; // peak-to-peak level
unsigned int signalMax = 0;
unsigned int signalMin = 1024;
// collect data for 50 mS
while (millis() - startMillis < sampleWindow)
{
sample = analogRead(0);
if (sample < 1024) // toss out spurious readings
{
if (sample > signalMax)
{
signalMax = sample; // save just the max levels
}
else if (sample < signalMin)
{
  signalMin = sample; // save just the min levels
}
}
}
peakToPeak = signalMax - signalMin; // max - min = peak-peak amplitude
int mic = peakToPeak ;
// dividng both sensors values by 4 to give a range of 0-255
mic = mic / 4 ;
flex = flex / 4 ;

Serial.write(flex);
Serial.write(mic);

delay(100);

}

check out this post

Could you do something like this?

Serial.print("(");
Serial.write(flex);
Serial.print(",");
Serial.write(mix);
Serial.print(")");

And the parse something like (128,254) in Pd?