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

Accessing all gpio pins? #516

Closed
chuckberrypi opened this issue Nov 18, 2024 · 1 comment
Closed

Accessing all gpio pins? #516

chuckberrypi opened this issue Nov 18, 2024 · 1 comment

Comments

@chuckberrypi
Copy link

Sorry if this isn't an appropriate github issue, but I'm wondering why the esp-idf-svc::hal::gpio only has types for gpio pins 1 through 21. My board has up to pin 38, and I don't seem to have any way of accessing them through this library. Is that correct? Is there another way I can use all the pins on my board? Thanks!

@Vollbrecht
Copy link
Collaborator

Vollbrecht commented Nov 18, 2024

if you are looking at the docs page it is generated against the esp32c3. If you are using another chip you get the correct gpio pins generated for your chip automatically depending on your chip. All capability definitions for every chip variant can be found in esp-idf-hal

@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Nov 18, 2024
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

2 participants