Jump to content

callback function on NanoPi M4


Jeffer

Recommended Posts

Hi,

I need to use callback function in Python3 on my NanoPi M4 but I can't,

so it is very nice if anyone can help me with this issue.

 

 

So far I've tried the function with wiringpi as shown command bellow

Quote

wiringpi.wiringPiISR(PIN_TO_SENSE, wiringpi.GPIO.INT_EDGE_BOTH, gpio_callback)

but this doesn't work at all,

that generates some errors and after that my command in /usr/bin/ doesn't work ....

 

I can use other functions in wirignpi so guess something is wrong with only this function...

Is there any way to use callback function with NanoPi M4, for example using other modules or something

 

Thank you,

 

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines