You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.
Hi,
and thanks for the work you have done on this!
I have a small question as I am a little stuck here.
If I program a PWM frequency of say 100Hz, how would I be able to calculate the resolution of the pulse width?
cheers
The text was updated successfully, but these errors were encountered:
The resolution is not determined and is not fixed value as this is hybrid ISR-based, not purely hardware-based PWM.
It depends on many factors such as settings, how many PWM channels you're using, ESP8266 speed, etc.
But the resolution can be guessed around ms, and can be OK with slow PWM, which is the purpose of this library.
It's easier for you to measure the resolution, if necessary for some purpose, by writing extra code to measure. Treat this as an exercise for you.
Ok, thanks for your reply. So it was hard
to figure that out for a reason then :)
I will approach this differently then.
Never too old for an exercise
Cheerio
Jeroen
On 5/18/22 17:20, Khoi Hoang wrote:
The resolution is not determined and is not fixed
value as this is hybrid ISR-based, not purely hardware-based
PWM.
It depends on many factors such as settings, how many PWM
channels you're using, ESP8266 speed, etc.
But the resolution can be guessed around ms, and can
be OK with slow PWM, which is the purpose of this library.
It's easier for you to measure the resolution, if
necessary for some purpose, by writing extra code to measure.
Treat this as an exercise for you.
Good Luck,
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message
ID: ***@***.***>
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#3 (comment)",
"url": "#3 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
and thanks for the work you have done on this!
I have a small question as I am a little stuck here.
If I program a PWM frequency of say 100Hz, how would I be able to calculate the resolution of the pulse width?
cheers
The text was updated successfully, but these errors were encountered: