analogWriteFrequency()

This function tweaks carrier frequency of PWM controller is used for analogWrite(). You have to call this function before you call analogWrite to apply setting. analogWriteFrequency(freq) freq: New PWM frequency in Hz units. The range is [488;8000000] Hz. None