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

about internal pulldown resistors not working in 3.1.1 (continued because of question) #10912

Closed
illusionmanager opened this issue Jan 28, 2025 · 1 comment

Comments

@illusionmanager
Copy link

Thank you for quick tests. I am closing this issue as solved.

Originally posted by @P-R-O-C-H-Y in #10907

Sorry, this isn't a real issue, but i was afraid you wouldn't read my comment about the pull down resistors.

It looks like your setting it to output a high level.
Your code even works when I remove the lines for the internal resistors. It looks like you're not using them. Will your code drain the battery more than when using internal resistors?
And this worries me the most: Is it even allowed to connect an output driven high to gnd?

@illusionmanager
Copy link
Author

it turns out the only two lines needed were

rtc_gpio_init(WAKEUP_GPIO);
rtc_gpio_set_direction(WAKEUP_GPIO, RTC_GPIO_MODE_INPUT_ONLY);

so no need to drive the output high.

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