get gpio interrupt in the C program
Posted: Mon Jun 12, 2017 6:25 am
Hello all.
Is there any guide to get interrupt from gpio in the C ?
I have tried poll() and ppoll() on "/sys/calss/gpio/gpioN/value" with "/direction" set to in and "/edge" set to both/faling/rising, not successful.
Thank you!
Is there any guide to get interrupt from gpio in the C ?
I have tried poll() and ppoll() on "/sys/calss/gpio/gpioN/value" with "/direction" set to in and "/edge" set to both/faling/rising, not successful.
Thank you!