Jump to content

Orange PI5 - WiringOP - Interrupt NOT WORKING, How can it be activated ?


elsabz

Recommended Posts

Hello Armbian forum, I need to have a GPIO interrupt on Orange PI5. I have successfully installed WiringOP and I am using it with C code. The problem is that the interrupt is not working, and I am receiving the following error. How can I proceed? Does anyone know how to enable the WiringOP interrupt on the GPIO PIN?

 

Code C :

#define AUX 13

wiringPiISR(AUX, INT_EDGE_FALLING, &MyFunction);

 

Error:

wiringPiISR: unable to open /sys/class/gpio/gpio92/value: No such file or directory

 

PS. I have just successfully installed this version: Armbian 23.02 Jammy Gnome

Edited by elsabz
Link to comment
Share on other sites

Hi @royk thanks for the answer, I had already looked in the library but I can't find anything different from the code I use, if you look at the isr.c example the call is the same as the one I use, except for the number of PINs that goes from 0 to 7, I tried to put PIN 0 but nothing changes, always the same error.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines