whats the PRO MICRO's timer and PWM out pin list?

The PRO MICRO used a ATmega32U4, do you know the timers PWM out pin number? and how to set PWM frequency to ~20KHz?

Thanks

The following pins are PWM enabled:

  • 3 (PD0)
  • - 5 (PC6)
  • - 6 (PD7)
  • - 9 (PB5)
  • - 10 (PB6)
  • I don’t have a cross reference handy that has which timers are used on what pins, but the [data sheet should have that information.

    Changing PWM frequency is possible, but there are no Arduino libraries or commands I’m aware of to do that. You’re going to have to read the datasheet and fiddle with ATmega32U4 registers set them up. I don’t have a guide, but [this forum post might point you in the right direction](Change PWM Frequency on Micro (or Leonardo) - Programming Questions - Arduino Forum)](https://cdn.sparkfun.com/datasheets/Dev/Arduino/Boards/ATMega32U4.pdf)