This recipe is the "Hello World"equivalent of electrical experiments with a single-board computer. We will connect an LED to a GPIO pin of the Banana Pi and apply a logical high signal on that pin. This will enlighten the LED.
We require several components to switch on an LED on the Banana Pi:
A Linux system on the Banana Pi
Access to the shell
A 5mm LED (forward voltage 2.0 V)
A 470 Ω resistor
Two female to male jumper wires
The following steps will switch on an LED. You will find the complete Banana Pi and Banana Pro pin layout in the There's more... section of this recipe.
Before you connect or disconnect any electrical parts, power off your Banana Pi and also unplug the power supply.
Connect the first jumper wire to the GPIO 1 pin. That...