-
-
Notifications
You must be signed in to change notification settings - Fork 443
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
Conversation
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). |
There was a problem hiding this 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.
content/learn/02.microcontrollers/03.analog-output/analog-output.md
Outdated
Show resolved
Hide resolved
@karlsoderby What do you think about my suggestion? |
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 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: ***@***.***>
|
@topquark22 I'm referring to the pinout diagrams that we provide. There we use the tilde symbols also for nano. |
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: ***@***.***>
|
I guess the PWM frequency again depends on the board, so I think I wouldn't add it in this generic article. |
What This PR Changes
Contribution Guidelines