Skip to content

Expand documentation to clarify pin notation and Servo usage #2326

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 5 commits into from
Aug 31, 2024
Merged

Expand documentation to clarify pin notation and Servo usage #2326

merged 5 commits into from
Aug 31, 2024

Conversation

AIWintermuteAI
Copy link
Contributor

@AIWintermuteAI AIWintermuteAI commented Aug 8, 2024

It is not explained anywhere that unlike official Arduino mbed cores, you need to prepend D before number for digital pins.
Another rather large difference is that servo PWM ranges are set very conservatively according to #776.

I think this can be two common gotchas for people trying to port their code from Arduino mbed nano core, so perhaps worth adding them to the docs.

@AIWintermuteAI AIWintermuteAI changed the title Exapnd documents to clarify pin notation and Servo usage Exapnd documentation to clarify pin notation and Servo usage Aug 8, 2024
@AIWintermuteAI AIWintermuteAI changed the title Exapnd documentation to clarify pin notation and Servo usage Expand documentation to clarify pin notation and Servo usage Aug 8, 2024
@AIWintermuteAI
Copy link
Contributor Author

Ooops. Sorry, got too busy with my main work recently. I can still address the comments and get the PR ready, if you want.

@earlephilhower
Copy link
Owner

Sure, if you're up for it!

Copy link
Owner

@earlephilhower earlephilhower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clean up!

@earlephilhower earlephilhower merged commit 94c9932 into earlephilhower:master Aug 31, 2024
20 checks passed
@AIWintermuteAI AIWintermuteAI deleted the patch-1 branch August 31, 2024 20:15
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants