-
Notifications
You must be signed in to change notification settings - Fork 181
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
GPIO pins receive current during deep sleep #33
Comments
This issues is still present. Which is the same log than when I initiate the pin driver as output. |
Don't drop the |
The behaviour is the same if I don't drop the PinDriver. |
@nihuynh OK so saying:
...was misleading right? If I understand you correctly, it is NOT about dropping the driver keeps the current in deep sleep, but it is about the fact that to get rid of the current, you have to explicitly call certain ESP IDF APIs? Can you please confirm that? |
The issue that i had was that : |
Ok but then again: NOT dropping the driver does not fix anything, right? |
i think this is addressed in #344 Feel free to reopen it if you think otherwise. |
(Originally submitted by @mihai-dinculescu against
esp-idf-sys
.)Running the code below keeps the led on during the deep sleep, which is different from what I've experienced using the Arduino libs.
Afaik unless
gpio_hold_en(gpio_num_t gpio_num)
is called alongsidegpio_deep_sleep_hold_en()
, the pin should go back to low during deep sleep.The text was updated successfully, but these errors were encountered: