WiringPi is a library written in C used to access GPIO pins on Raspberry for BCM2835 (Broadcom Processor) SoC (System on Chip). There are various libraries are available to access GPIO in C like bcm 2835, sysfs, pigpio, etc. Here, we are using WiringPi library for Raspberry Pi GPIO access.
To use wiringPi, first we should install it on Raspberry Pi. This installation can be done in two ways which is as follows,
WiringPi Library Installation:
This way of installing WiringPi library will use git.Read More