PWM.setFrequency

Name
PWM.setFrequency - set PWM frequency in hertz

Description

 * void PWM.setFrequency ( u32 freq )


 * Set the frequency of the hardware PWM peripheral in hertz. This can range from 0hz to 12Mhz.
 * PIC32 OlimexMicro - IDE pin 10, 11, 12

Syntax

 * PWM.setFrequency(freq);
 * PWM.setFrequency(u16 freq);


 * freq
 * in hertz from 0 - 12000000


 * Returns/Output
 * None