View: 7560|Reply: 2

Orange Pi's and GPIO Interrupts?

[Copy link]

6

threads

32

posts

626

credits

Senior member

Rank: 4

credits
626
Published in 2017-4-17 19:03:33 | Show all floors |Read mode
I use many different Orange Pi models, mainly One and Zero for now. I use Armbian legacy.I build a device with several buttons, sensors etc. Implemented in python. I selected WiringOP for GPIO and installed it with some tweaking.
First version is implemented in polling mode. Whenever I start interrupt driven code, I got stuck. No such support as far as I can see.
How can I handle this? How does a working scenario look like?

Thanks

OPi's: 3 Zero, 4 One, 1 Plus, 1 PC2, 1 cam
OPi on transit: 1 One, 1 2G-IOT, 1 2G IOT Touch LCD
3 RPi 3, 1 RPi 2, 3 RPi cam

62

threads

653

posts

5498

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5498
Published in 2017-5-24 14:42:24 | Show all floors
Hi friend, i am sorry there is no support for you. May i know did you solve your problem?

6

threads

32

posts

626

credits

Senior member

Rank: 4

credits
626
 Author| Published in 2017-5-24 16:18:10 | Show all floors
Yes, I had a reply in the Armbian forums directing me to use C language for interrupts with WiringPi.
I'm now recoding all the time critical applications in C...
OPi's: 3 Zero, 4 One, 1 Plus, 1 PC2, 1 cam
OPi on transit: 1 One, 1 2G-IOT, 1 2G IOT Touch LCD
3 RPi 3, 1 RPi 2, 3 RPi cam
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list