This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

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