Raspberry Pi GPIO Button Interfacing in Python using RPI GPIO Library

Опубликовано: 14 Февраль 2018
на канале: Abdul Rehman 2050
304
3

Using the Raspberry PI GPIO in python is one of the basic tasks everyone needs to perform when purchasing the Raspberry Pi. This tutorial will explain the method to perform the raspberry pi GPIO button interfacing in Python Language. We used the Rpi.GPIO library for accessing the hardware GPIO pins of the Raspberry Pi. Although we used the Raspberry Pi 3 model in this tutorial. But this tutorial is equally applicable to other raspberry pi GPIO variants like Raspberry Pi 4 and also the "Raspberry Pi Zero" or "Raspberry Pi Zero W" model. Python is one of the basic languages of choice when it comes to programming the Raspberry Pi. Although there are other possibilities to program the Raspberry Pi GPIOs like in C or C++. But Python becomes the most popular and most widely used choice of the developers who code the Raspberry Pi programs.
In this lecture, we had explained how to use Raspberry PI GPIOs as an Input and demonstrated the way to read the pushbutton attached with raspberry pi 3 using its PGIOs in the active LOW state.

Raspberry Pi GPIO LED Blink code in Python
   • Raspberry PI GPIO LED Blink code in P...  

Link to the code and description
http://www.fypsolutions.com/tutorials...