Jeffer Posted September 12, 2019 Posted September 12, 2019 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,
Recommended Posts