Arduino to Arduino comms via USB

I have examples of connecting two Arduinos together using SPI or I2C for debugging:

However as Paul says, the simplest is to use two wires and serial comms (plug ground of course). For serial you swap the wires over, for I2C and SPI you don't.