Function rc_servo_init#

Function Documentation#

int rc_servo_init(void)#

Configures the PRU to send servo pulses.

Also leaves the servo power rail OFF, turn back on with rc_servo_power_rail_en(1) if you need to power servos off of the board.

Returns:

0 on success, -1 on failure