Serial.print(400) will send '4', '0', '0' to the serial port.
Serial.write(400) will send 144 to the serial port - the write() function takes a byte, so only the low order byte (containing 144) is sent. The high order byte is ignored.
Serial.print(400) will send '4', '0', '0' to the serial port.
Serial.write(400) will send 144 to the serial port - the write() function takes a byte, so only the low order byte (containing 144) is sent. The high order byte is ignored.