Need help setting Nano Every pwm frequency to 25khz

Hello,

I am trying to control a 12v 4 pin fan with an Arduino Nano every. I need the pwm frequency to be at 25khz. I cannot find anything about how to do this, there are a couple of other old posts here about changing the pwm frequency but they are locked and I did not understand them. I have a program that works with an arduino uno but does not work with the nano every.

Thanks

Start by posting your schematic, not a frizzy picture showing all connections including power and ground. Also post links to each of the hardware devices technical information. Azon links are just sales. Posting your code following the forum guidelines would help a lot. The processor used on each of your devices is the same so they are code compatible with the exception of the Nano it has two extra A/D inputs.

Nonsense. The question is about an Nano Every which uses an ATMega 4809. The timer registers used for setting up custom pwm outputs are nothing like those of the ATMega 328 Nanos.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.