Blink led with Pi

Read the Pin mapping of Pi :

  1. Open the terminal
  2. Type gpio readall
  3. Displays the Pin number reference for both WiringPI library /Broadcom SOC channel (BCM) GPIO Pin numbering

Installing WiringPi library for our blink program. Install the wiringPi library from the link given below :

https://github.com/WiringPi/WiringPi

cd /tmp

wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb

To verify if the WiringPI is installed and the Pinout