decrypt numbers in processing.

Hey J,
you sure about this, MSB first, i know down here the toilet water goes the wrong way, but processing was receiving the LSB first.

Serial.write(TPS1_Value,2); which will send your int's 2 bytes to Processing starting with Most significant byte first.

i got both ways to work although i prefer

        byte TPS1_MSB = ((TPS1_Value) >> 8);
        byte TPS1_LSB = ((TPS1_Value) & 0xFF);
        Serial.write (TPS1_MSB);
        Serial.write (TPS1_LSB);

is more readable, you know excatly whats happening, a bit longer, but when put into a class who cares.

have it working now so can start making it better.

thanks for your help guys.