Arduino to imitate a momentary switch

Look at this:

You would then use pin 13 to control: