0

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.
4
  • 1
    ask at arduino.cc ... your question is not about an arduino problem ... it is about the organization of an external website
    – jsotola
    Commented Aug 18 at 23:02
  • You still can find it from github github.com/arduino/reference-en/blob/master/Language/Functions/….
    – hcheung
    Commented 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.
    – hcheung
    Commented 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
    – VE7JRO
    Commented Aug 19 at 15:30

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.