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

Wake button does nothing, but #34

Open
Maaciej opened this issue Jun 6, 2022 · 0 comments
Open

Wake button does nothing, but #34

Maaciej opened this issue Jun 6, 2022 · 0 comments

Comments

@Maaciej
Copy link

Maaciej commented Jun 6, 2022

Wake button does nothing, but
when you change in go-to-deep-sleep.h
THIS
esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);

TO THAT

esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);
esp_sleep_enable_ext1_wakeup(GPIO_SEL_35, ESP_EXT1_WAKEUP_ALL_LOW);

Wake button does the same what RST button.
Almost; it keeps boot count I think, RST does not.

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