Collin, it worked! Great stuff, thank you.
I've done this a few times adding a char and a space before the value and sorting it out with a [route]The char goes in quotes, and don't forget the space!Serial.print("s ");On Sep 27, 2010, at 10:59 AM, pd-list-request@iem.at wrote:// SRF02 READING //
sendCommand(sensorAddress, readInches);
delay(70);
setRegister(sensorAddress, resultRegister);
int sensorReading = readData(sensorAddress, 2);
Serial.print("r ");Serial.println(sensorReading);
delay (200);
// GPD12 READING //
sensorValue = analogRead(sensorPin);
int range = (6787 / sensorValue);
Serial.println(range);
then in the patch:[comport 8 9600]|[ascii2pd CR]|[route list]|[route s r]
Collin