> > Sure, I have. It's as simple as echo, no libraries needed.

OK, found something.

ls -1 /sys/class/gpio/
export
gpiochip458
unexport

echo 462 >/sys/class/gpio/export
ls -1 /sys/class/gpio/
export
gpio462
gpiochip458
unexport

https://www.kernel.org/doc/Documentation/gpio/sysfs.txt
Is a little obtuse about the pin number needing to be added to that
458.

How do the pin numbers in sysfs on leap 15.0 correspond to the pins on the RPi
header? Pin 4 (462) appears not to correlate with GPIO4 (pin 7 of the
2x20 pin header). Searching the net is a bit fruitless as everyone seems
to assume they're running raspbian...

Thanks muchly,

Volker

-- 
Volker Kuhlmann
http://volker.top.geek.nz/      Please do not CC list postings to me.
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to