How to modify the PWM frequency on AnalogWrite();?


#1

Hello,

I would like to set the PWM frequency on the AnalogWrite, but the function does not exist on the WiringAnalog.h (WiringAnalog.h on GitHub)

Does anybody knows how to change the bus frequency for the PWM outputs and also the limitations between AnalogWriteResolution() and the bus frequency when use in PWM ?

Thanks a lot!