-
Notifications
You must be signed in to change notification settings - Fork 57
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
Enable pullup/pulldown config of input pins #12
Comments
Hmm the gpio-admin tool looks pretty interesting. I've been meaning to add pullup/pulldown support for a while. I'll probably take a look sometime next week. |
I apologize for replying to something almost 4 years old but @knolleary or @EnotionZ wouldnt happen to have the pullup/pulldown set up with this library? |
Hi there. This project is no longer maintained and the pullup/pulldown support was never implemented. |
@EnotionZ since native wiring-pi's gpio is the maintained project for Rpi may I suggest to keep maintaining gpio.js as js only alternative, and by the way since it's using sysfs, it may not Rpi specific, so title can be adjusted. |
Duplicates: #27 |
I have been using the pi-gpio module which uses the gpio-admin command under the covers to export pins - rather than manage the files directly.
For a new project, I need to use the inbuilt pullup/pulldown resistors on the pi - this is done via bit-flipping at specific locations in /dev/mem. The gpio-admin command, written in C, exposes this ability which makes it easy to patch into pi-gpio.... and there is an open pull request for it.
However I see that module is no longer actively maintained, so would like to move over to this one.
As this module manages the pins directly, rather than via gpio-admin, it is not such a simple task to add the resistor support. Before I go down the route of getting this to work, I wanted to raise this issue to flag it for anyone else interested in this, or who has perhaps already done it...
The text was updated successfully, but these errors were encountered: