-
Notifications
You must be signed in to change notification settings - Fork 157
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 GPIO pull-ups #32
Comments
I will give it a shot :) Sent from my iPhone
|
Hey @kidoman - did you ever get a chance to have a look up pull up/down? |
+1 |
Just as a notice to anyone in 2017: pullups/pulldowns are still not implemented. |
The pull-up and down functionality is currently unimplemented in the generic host. I would really like this functionality to be available for rpi.
My current workaround is using github.com/stianeikeland/go-rpio only to set the pull-ups. I'd really rather stick to embd only because I need the i2c and other awesome features.
Their implementation is at https://github.com/stianeikeland/go-rpio/blob/master/rpio.go#L232. It involves some tricky memory mapping of a register file that I am not super comfortable with.
The text was updated successfully, but these errors were encountered: