Raspberry Pi_Eng_25.6.1 Meaning of GPIO Library


Published Book on Amazon


All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 1
All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 2


출판된 한글판 도서


최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (상)
최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (하)


Original Book Contents


25.6   GPIO Library 

 

25.6.1  Meaning of GPIO Library

 

To use GPIO in a program in Raspberry Pi requires not only a deep understanding of the hardware, but also an expert level of low-level programming knowledge required to manipulate the hardware. The software module that experts have already developed in advance to make it easy for ordinary users to use GPIO functions without experiencing these difficulties is called library. A library means a set of modules made by developing programs to provide various functions that are commonly used and integrating them into a package in the manner that other programs can easily take out and use them.

 

Installing these libraries makes it easy to use the GPIO port of Raspberry Pi. One thing to consider about the library is that if the software we wrote is using the library, the library must be installed together in order for other users to use the software we have developed.

 

Currently, there are several libraries that make it easy to use the GPIO of Raspberry Pi.

    WiringPi library

It was developed in C, but it can be used in other languages by using wrapper.

 

    RPi.GPIO library

It is a library for the Python language.

 

    WebGPIO library

It is a library that allows easy manipulation of GPIO through web.

 

We will only describe <WiringPi> library and <RPi.GPIO> library. If you need information about <WebGPIO> library, please look at the data yourself.