Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for /sys/class/gpio? #30

Open
zoobab opened this issue Jan 24, 2020 · 3 comments
Open

Support for /sys/class/gpio? #30

zoobab opened this issue Jan 24, 2020 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@zoobab
Copy link

zoobab commented Jan 24, 2020

Hi,

Any chance to support /sys/class/gpio under Linux (like most SBC boards have)?

Or via some USB dongle:

http://www.zoobab.com/ch341-usb-spi-i2c-uart-isp-dongle

@plaes
Copy link

plaes commented Jan 24, 2020

Up-to-date approach would be /dev/gpiochipX

@keith-packard
Copy link
Owner

keith-packard commented Jan 24, 2020

I'd certainly welcome contributions like this -- would be great to have the POSIX Snek also able to drive peripherals! If someone wants to give this a try, I will help anyway I can.

@keith-packard keith-packard added enhancement New feature or request good first issue Good for newcomers labels Jan 24, 2020
@merwok
Copy link

merwok commented Mar 24, 2021

I’m not a C dev but I’ve seen wiringpi used as an abstraction for GPIO.
The developer hung his gloves because of bad redistributors, but the library can still be installed (and is kept functional by the community), so it could still be a good option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants