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

RP2040 Set the neopixel pin as output after PIO use #4160

Merged
merged 1 commit into from
Feb 8, 2021

Conversation

gamblor21
Copy link
Member

Once the PIO is done with the neopixel pin it needs to be re-initialized to be output and driven low to prevent the first neopixel from getting accidentally turned on. Otherwise it seems to float and can cause random behavior.

@jerryneedell
Copy link
Collaborator

Just tested with my Airlift attached -- seems to have fixed the issue for me as well.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this fix! Will merge after jobs complete.

@dhalbert dhalbert merged commit 3c99b09 into adafruit:main Feb 8, 2021
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

Successfully merging this pull request may close these issues.

None yet

3 participants