how wiringOp interrupt works?? 看全部

I install Jessie server / armbian on orange pi one and install wiring op on it from this link https://github.com/zhaolei/WiringOP
and for test interrupt I use this example form https://github.com/n.../examples/isr.c
as he said in comment for test write
  1. gpio mode 0 up
  2. gpio mode 0 down
in other terminal , I did this and it just print waiting...
my question is , Is wiringPiISR  working on orange pi one?
If the answer is yes, what should happen in this example?
Is it need any thing to connect to the pin Externally?
or can give me an other example for interrupt?


wiringPiISR  isn't working on orange pi.

There are no functions of the interrupt in GPIO of OPI.
  • Bench isan
  • 2016-9-21 13:05:53
So, what should I do?
Edited by nopnop2002 at 2016-9-21 19:40
quote: isan replied at 2016-9-21 13:05
So, what should I do?

waitForInterrupt doesn't also work in OPI.
Please use RPI
  • 5# isan
  • 2016-9-27 16:50:14
Edited by isan at 2016-9-27 16:54

I get wiring op from this link
https://github.com/WereCatf/WiringOP
and install it and interrupt works.
12NextPage