Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update analog-output.md #717

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

Merged
sebromero merged 2 commits into arduino:main from topquark22:patch-1
Dec 15, 2022
Merged

Update analog-output.md #717

sebromero merged 2 commits into arduino:main from topquark22:patch-1
Dec 15, 2022

Conversation

Copy link
Contributor

@topquark22 topquark22 commented Dec 7, 2022
edited
Loading

What This PR Changes

  • (Please explain here why you created the pull request and specify what it changes)

Contribution Guidelines

Copy link

CLAassistant commented Dec 7, 2022
edited
Loading

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

Hello @topquark22 , thank you for your submission. However, this only applies to some boards (particularly AVR boards). For example, the Nano RP2040 supports PWM on 20 pins (basically all pins).

Copy link
Contributor

@sebromero sebromero left a comment

Choose a reason for hiding this comment

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

I made a proposal. Please let me know what you think.

Copy link
Contributor

@karlsoderby What do you think about my suggestion?

Copy link
Contributor Author

topquark22 commented Dec 7, 2022 via email

On the Uno they are screen-printed with a tilde sign. On the Nano they are not. G ---- On Wednesday, December 7, 2022 at 07:46:01 a.m. EST, Sebastian Romero ***@***.***> wrote: @sebromero requested changes on this pull request. I made a proposal. Please let me know what you think. In content/learn/02.microcontrollers/03.analog-output/analog-output.md:
@@ -13,6 +13,8 @@ In the graphic below, the green lines represent a regular time period. This dura
![](./pwm.gif) +PWM is only available on digital output pins 3, 5, 6, 9, 10 and 11. The other digital pins cannot be used for PWM. ⬇️ Suggested change-PWM is only available on digital output pins 3, 5, 6, 9, 10 and 11. The other digital pins cannot be used for PWM. +On some microcontrollers PWM is only available on selected pins. Please consider the pinout diagram of your board to find out which ones you can use for PWM. They are denoted with a tilde sign (~). — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: ***@***.***>

Copy link
Contributor

@topquark22 I'm referring to the pinout diagrams that we provide. There we use the tilde symbols also for nano.

ABX00031-pinout

A000005-pinout

Copy link
Contributor Author

topquark22 commented Dec 7, 2022 via email

Another thing you should mention is the frequency of the PWM signal. I measured it on my scope (from a Nano) and it was 976Hz. G ---- On Wednesday, December 7, 2022 at 10:24:43 a.m. EST, Sebastian Romero ***@***.***> wrote: @topquark22 I'm referring to the pinout diagrams that we provide. There we use the tilde symbols also for nano. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: ***@***.***>

Copy link
Contributor

I guess the PWM frequency again depends on the board, so I think I wouldn't add it in this generic article.

@sebromero sebromero merged commit aa5bf2e into arduino:main Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@karlsoderby karlsoderby karlsoderby left review comments

@sebromero sebromero sebromero requested changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /