onPi - GPIO interruptions in Python and C++ on a Raspberry PI

preview_player
Показать описание
0:00 Intro
0:53 Python code for multiple interruptions
16:12 C++ code for multiple interruptions
33:09 Stress Test

How to handle multiples interruptions on a Raspberry PI and how fast your interruptions can go in Python and C++. Also how to create a debounce code for your buttons in Python and C++.

Video project folder:

Рекомендации по теме
Комментарии
Автор

Thank you for this! This is everything I needed to know about how to do ISRs on the pi in C.

chopperlw
Автор

What causes those events @12:44?
What do you mean by handling the borders?

lancecruwys
Автор

Hi, I want to measure frequency till 10khz.
Do you think it is fast enough?

arielcairoli
Автор

Q: Instead of a loop for delay, is there a high-resolution counter I can use to turn on a GPIO pin, wait, and then turn it off again after 5µS?

hallkbrdz
join shbcf.ru