One thing to keep in mind is that literals are interpreted as ints. You want them to be interpreted as bytes. There is now a way to force that, but you can cast the int to a byte.
Serial.write((byte)2);
Serial.write((byte)160);
Serial.write() does different stuff with bytes and ints.