orangepi-xunlong / wiringOP

wiringPi for Orange Pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

X3KT0 opened this issue · comments

commented

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.

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