Previously, the reference page for the analogWrite function showed the PWM frequencies for different pins on different Arduino boards, but now it doesn't mention it anywhere... Where is this information?
New contributor
Jazz Weisman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
-
1ask at arduino.cc ... your question is not about an arduino problem ... it is about the organization of an external website– jsotolaCommented Aug 18 at 23:02
-
You still can find it from github github.com/arduino/reference-en/blob/master/Language/Functions/….– hcheungCommented Aug 19 at 2:42
-
PWM basically generated by timer, so for Arduino Uno, when timer0 is used, it is F_CPU/(Prescaler*256) = 16000000/(64 * 256) =976.563 Hz for Fast PWM mode. You can always find information such as this in the datasheet of whatever MCU you are using.– hcheungCommented Aug 19 at 2:47
-
Detailed information can be found at arduino.cc docs.arduino.cc/tutorials/generic/secrets-of-arduino-pwm If you are just looking for a chart will all of the Arduino models and their respective PWM frequencies, you are welcome to self answer your question. Generating "custom" frequencies is a popular question here and has many answers: arduino.stackexchange.com/search?q=PWM+frequency– VE7JROCommented Aug 19 at 15:30
Add a comment
|