title: Raspberry Pi simple LED and GPIO with Python not working
body: <p>I just bought a Raspberry Pi and I was playing around with an LED, trying to learn Python. So my setup is as follows: my led is is connected to the 7th PIN of my GPIO and to ground. I made the following code:</p>
  
  <pre><code>import RPi.GPIO as GPIO
  import time
  GPIO.setmode(GPIO.BOARD)
  GPIO.setup(7, GPIO.OUT)
  GPIO.output(7, True)
  time.sleep(10)
  GPIO.output(7, False)
  time.sleep(5)
  GPIO.output(7, True)
  </code></pre>
  
  <p>When I ran this code, the LED blinks once for 10 seconds, turns off and nevers turns back on. What can be wrong?</p>