Interrupt in Raspberry pi

1 view (last 30 days)
Shreeranga RB
Shreeranga RB on 11 Nov 2018
Answered: Vidip on 7 Jun 2024
Is there a way to use the external interrupt feature of Raspberry Pi? I am using Raspberry Pi model 3 B. I am trying to execute a routine only when an event(rising/falling) is detected on the GPIO pins. How can I do it?

Answers (1)

Vidip
Vidip on 7 Jun 2024
Yes, you can use the external interrupt feature of the Raspberry Pi, including the Raspberry Pi 3 Model B, to execute a routine in MATLAB when a rising or falling edge event is detected on one of the GPIO pins. You can go through below example link as it introduces the workflow for working with GPIO pins, how to connect LEDs and push buttons to GPIO pins-

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!