Coding AUX servo functions into 2.7.3

Hi

I need to control 2 Aux servos from a APM1 board. Trying to use the camera channels and change the code to control them directly.

If anyone could help me with:

- where are the output pins initiallised?

- I am trying to use one of these lines to control the servo.

 g.rc_5.servo_out = 900;


 APM_RC.OutputCh(Ch_6, 900);

Added into the medium loop

Am I on the right track?

Thanks for any help.

Graham

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…