PROJECT 1 - SWITCHING LEDs
Objective: switch LEDs on and off and detect push-button switches
Uses: Python, GPIO library, Ciseco's Slice of Pi board
You will need: some LEDs, single core insulated wire, Ciseco's Slice of Pi PCB, resistors, push-button switches
Assemble the components as shown in the circuit diagram.
Download the program to your Pi. The easiest way to do this is to use wget.
Run the program as root.
sudo python led.py