Recommended Additions
sudo apt-get update
sudo apt-get install python-dev
sudo apt-get install python-rpi.gpio
#!/usr/bin/env python
import time
import RPi.GPIO as GPIO
LED = 17
GPIO.setmode(GPIO.BCM)
GPIO.setup(LED, GPIO.OUT)
while True:
GPIO.output(LED, GPIO.HIGH)
time.sleep(0.1)
GPIO.output(LED, GPIO.LOW)
time.sleep(2)