Skip to content

ESP32 leaves pins connected... #499

Answered by Makuna
ericgu asked this question in Q&A
Jul 8, 2021 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

Which "method" are you using? How do you create it and destroy it?

The ESP32 has a hardware pin muxer (means it will assign pin/pins to hardware) and it sounds like these are not being reset by ESP32 when it reboots.
UPDATE: If this is the case, I can add code to the destructors to turn off the pin mux that is used; but again, you need to make sure to destruct the NeoPixelBus before you reset the device. If you can't control the reset timing, then you need to add code to your setup/startup to demux the last used pin before using a new pin.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@ericgu
Comment options

@Makuna
Comment options

@ericgu
Comment options

@ericgu
Comment options

Answer selected by Makuna
Comment options

You must be logged in to vote
1 reply
@ericgu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants