In this section, we will build a simple app that interacts with Raspberry Pi GPIO. We will use three LEDs, which are attached to the Raspberry Pi 2 board. Furthermore, we will turn the LEDs on/off sequentially.
The following hardware components are needed:
The hardware wiring can be implemented as follows:
The following image shows the hardware connection for LED blinking:
Now you can write a program using WiringPi with Python. The following is the ...