The "pwm01.h" library will accommodate your needs. Library, instructions and example in link below. The function "pwm_set_resolution" sets the resolution in bits. If needed, you can setup two separate PWM frequencies in the same program. Good luck.
The "pwm01.h" library will accommodate your needs. Library, instructions and example in link below. The function "pwm_set_resolution" sets the resolution in bits. If needed, you can setup two separate PWM frequencies in the same program. Good luck.