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

Reset output to floating state #145

Open
adamreisnz opened this issue May 14, 2021 · 1 comment
Open

Reset output to floating state #145

adamreisnz opened this issue May 14, 2021 · 1 comment

Comments

@adamreisnz
Copy link

Hello, is it possible to "reset" an output to go back to floating state?

Currently whenever we open a pin for output, it either has to go HIGH or LOW, but we want to put it in a floating state for our watchdog. How can we achieve that?

@adamreisnz
Copy link
Author

adamreisnz commented May 14, 2021

I have managed to do this using rpio.open(pin.no, INPUT, PULL_OFF);. Hope that is the correct way.
This is not very obvious though, so would be nice if this was documented somehow a bit better in the readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant