Open onyx99 opened 8 months ago
issue same waitfor solution
Had the same issue with the OrangePi Zero 2.
After stripping down the example for wiringPi Pin 2 (GPIO 73) and issuing sudo gpio edge 73 falling
for that GPIO pin prior to executing the program the example is working.
Seems that some port init is not complete, at least using Ubuntu 22.04 LTS...
gpio: Unable to open GPIO edge interface for pin 9: Permission denied wiringPiISR: unable to open /sys/class/gpio/gpio79/value: No such file or directory