serialEvent call

zamy:
Ah, i didn't notice at the first sight...
Buteman, your code is for Processing, not for arduino, am i right?.
I'm looking on the code for arduino board.

Yes code is for Processing.
Sorry but I thought you were sending data from arduino for your PC to read.