Viewing output from Serial.write

wengzhe:
I understand that Serial.write writes binary data to the serial port.
Is there a way to view what has been written?

Serial monitor. Click the icon in the upper right of the IDE.