pin 2 goes to D7 and pin 1 goes to ground