Hi,
Bit 2 of the second byte in the array would be bit 10 in the array, correct?

So, IF Buffer.0(10) == 1 THEN

For more in depth information please see this thread.

/Henrik.