WiringPi installation on raspberry pi

WiringPi is a GPIO access library written in C for the BCM2835 used in the Raspberry Pi. It’s released under the GNU LGPLv3 license and is usable from C and C++ and many other languages with suitable wrappers (See below) It’s designed to be familiar to people who have used the Arduino “wiring” system. content by: Wiring pi

Install GIT by running this command if you don’t have:

Update your raspberry pi operating system, if you get any error:

To obtain/download WiringPi usin GIT:

After cloning operation, run this command:

This will fetch an updated version from Github Then you can re-run the build script below:

To build/install, run this command, it will run build script:

Test  installation:

Run this GPIO command to check the installation:

this command will list the value’s and name of all the GPIO pins as shown below:

wiringpi

Add Comment