Defined in File pwm.h
int rc_pwm_init(int ss, int frequency)¶
Configures subsystem 0, 1, or 2 to operate at a particular frequency.
This may be called at runtime to change the pwm frequency without stopping the motors or pwm signal.
ss – [in] Subsystem 0 1 or 2
frequency – [in] The frequency in HZ
Returns 0 on success or -1 on failure.