Рет қаралды 15,231
Learn how to use GPIO interrupts on your Raspberry Pi, using the RPi.GPIO library. Step by step explanation for both wait_for_edge() and add_event_detect() functions.
👉 Complete Raspberry Pi 4 Course for Beginners: 🔥 rbcknd.com/ras... 🔥
✅ Click Here for the corresponding Written Tutorial - Raspberry Pi GPIO Interrupts Tutorial: roboticsbacken...
0:00 Intro
0:18 Circuit with Raspberry Pi and push button
0:55 How GPIO interrupts work
2:21 Setup the GPIO
4:08 Interrupts with GPIO.wait_for_edge()
6:35 Interrupts with GPIO.add_event_detect()
12:34 Use GPIO.BOTH to detect RISING and FALLING in the same interrupt
14:36 Outro
👉 Get all my courses here 👉 rbcknd.com/all...
Twitter: / roboticsbackend
More Free Tutorials: roboticsbacken...