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

[ESP32-S3] GPIO High when configured as input regardless of PullUp/Down Setting #894

Closed
ProfFan opened this issue Nov 1, 2023 · 1 comment

Comments

@ProfFan
Copy link
Contributor

ProfFan commented Nov 1, 2023

let mut int_pin = io.pins.gpio15.into_push_pull_output();
int_pin.set_low().unwrap(); // Low

let mut int_pin = int_pin.into_pull_down_input(); // Immediately goes high

On main branch of esp32s3-hal.

Also see #142

@ProfFan
Copy link
Contributor Author

ProfFan commented Nov 1, 2023

I guess it's just the internal pull-down is not strong enough in input mode?

@ProfFan ProfFan closed this as completed Nov 1, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant