title: Raspberry Pi Simple LED using python and GPIO not working
body: <p>I am using a Raspberry Pi B+ model out of the box. I have performed the initial setup and am trying to light up an LED using GPIO pin 7. The circuit works when one end of the LED is connected directly to 3.3 Volts and the other to GND through a resistance. Now when I use the following code to light up the LED nothing seems to happen. No Errors but the LED remains unchanged.</p>
  
  <pre><code>import RPi.GPIO as GPIO 
  GPIO.setmode(GPIO.BOARD) 
  GPIO.setup(7, GPIO.OUT) 
  GPIO.output(7,True)
  </code></pre>
  
  <p>I have tried to "sudo apt-get update" , "sudo apt-get upgrade" . I also tried replacing the GPIO.BOARD to GPIO.BCM and changing the pin to match the BCM number. Could someone also please tell me what BCM stands for ? </p>
  
  <p>I have also tried restarting the device.</p>