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 system has wiringPi pre-installed, you can use it directly.
Test whether wiringPi is installed or not.
WiringPi includes lots of GPIO commands which enable you to control all kinds of interfaces
on Raspberry Pi. You can test whether the wiringPi library is installed successfully or not by the
following instructions.
gpio
–
v
If the message above appears, the wiringPi is installed successfully.
Use the command below to see the GPIO layout
gpio
readall
Содержание Super Kit 3.0
Страница 7: ...4 22 RGB LED 1 23 LED red 8 24 LED white 4 25 LED green 4 26 LED yellow 4 27 NPN Transistor S8050 2 ...
Страница 30: ...27 Also we have drawn a table of the corresponding BCM wiringPi and Name of each pins ...
Страница 78: ...75 Now pull the slide and you can see the two LEDs light up alternately ...