This repository contains 2 small python scripts for the Raspberry Pi (rev. B+).
This example work's when you connect a ressistor of f.e. 330Ω to the GPIO pin 17 and a default LED (+ after resistor and - to GND).
Clone the repository and then run
sudo python led_example_on.py
to switch the led on or
sudo python led_example_off.py
to switch it off.