wiringOP icon indicating copy to clipboard operation
wiringOP copied to clipboard

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

Open X3KT0 opened this issue 1 year ago • 1 comments

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.

X3KT0 avatar Nov 17 '23 21:11 X3KT0

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

YVDevelop avatar Jan 29 '24 11:01 YVDevelop