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

Cleanup cleans up all pins #61

Open
paf0186 opened this issue Jan 5, 2022 · 1 comment
Open

Cleanup cleans up all pins #61

paf0186 opened this issue Jan 5, 2022 · 1 comment

Comments

@paf0186
Copy link

paf0186 commented Jan 5, 2022

GPIO.cleanup()

This cleans up all the pins, making it not safe to call if you've got anything else using a GPIO pin.

cleanup() supports specifying a specific GPIO pin (or set of pins as a tuple), so this should be an easy fix.

@RootnuII
Copy link

I don't think it does that much I'm probably wrong what do you mean by not safe I don't understand

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

2 participants