orangepi-xunlong / wiringOP

wiringPi for Orange Pi
GNU Lesser General Public License v3.0
413 stars 192 forks source link

On Orange Pi Zero 2W (H618) wiringPiISR() doesn't work #93

Open X3KT0 opened 1 year ago

X3KT0 commented 1 year ago

When called with wPi pin number (for example, 6), wiringPiISR() calls /usr/bin/gpio with "6" as argv[2] and that fails, because can't put "6" into /sys/class/gpio/export

When called with GPIO pin number (for example, 257, which is the same pin on this board), wiringPiISR() aborts immediately with "wiringPiISR: pin must be 0-63 (257)" message.

YVDevelop commented 9 months ago

Hello! I also encountered this error on Orange Pi Zero 2 (H616). Did you manage to solve it somehow?