On Tue 04 Sep 2018 23:56:11 NZST +1200, Andreas Färber wrote:
I can't repeat often enough: Forget wiringPi!
Very happy to. Anything that works. Out of the box would be good. ;-)
Sure, I have. It's as simple as echo, no libraries needed.
Sounds great. Where do I look for info?
The "official" Linux GPIO library to supersede the legacy sysfs interface is libgpiod.
Cool. Bonus if it's easy to use. zypper search libgpiod No matching items found. zypper search libgpio No matching items found. It's in the hardware repo. No complaints there, but https://build.opensuse.org/package/show/hardware/libgpiod shows libgpiod as disabled for ARM. Why? Does it not compile on ARM?? http://download.opensuse.org/repositories/hardware/openSUSE_Factory_ARM/ which I have already configured doesn't have it.
mraa might work as convenience wrapper, but never tried it myself.
Might, but probably not if what it's wrapping isn't there... At least the blink examples compile without any issue and don't crash when run, but exit with error (as expected). Sorry to say but doing something trivial with a play platform like an RPi is beyond a joke. Volker -- Volker Kuhlmann http://volker.top.geek.nz/ Please do not CC list postings to me. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org