communication with Arduino in a number of channels

Hey,
I created toe. That analyses Kinect data and the output is 10 different channels with on/off (0/1) to each channel - (if a person is present or not and where in the space - 10 different space slots) and would like to send on/off (0/1) data to 10 different pins on arduino.
I basically need to transfer 2 byte info: the first with the channel number and the second with a Boolean expression 0/1.
I tried to work with the snippets examples but could not figure out a way to change them correctly.
How can I do that?

Thank you!