User Manual
28
GPIO Libraries
WiringPi
Introduction
WiringPi is a GPIO library for C applied to the Raspberry Pi. It complies with GUN Lv3. The
functions in wiringPi are similar to those in the wiring system of Arduino. They enable the users
familiar with Arduino to use wiringPi more easily.
Now the Raspbian Jessie 2016-05-27 has wiringPi pre-installed, you can use it directly.
Test whether wiringPi is installed or not.
WiringPi includes lots of GPI O commands w hich enable you to control all kinds of interfaces
on Raspberry Pi. You can test w hether the wiringPi library is installed successfully or not by the
follow ing instructions.
gpio –v
If the message above appears, the w iringPi is installed successfully.
Use the command below to see the GPIO layout
gpio readall
SunFounder