If you don't actually need all 256 values, you could use one of them (e.g. 0 or 255) to indicate the start of a transfer, then send all 8 values. Otherwise, you could send the values as ASCII (with serial.write(str(123)); ), with some kind of separator and delimitor, e.g. a comma between each of the numbers and a newline after. Although that requires a bit of work to reconstruct the numbers in Arduino.