Based on Arduino documentation - Turn on a LED when a button is pressed. Arduino board monitoring this through the 2nd digital pin, sending it's value to the PC by the serial USB connection.  (A 1ms delay is included for stability).