Skip to content
English
  • There are no suggestions because the search field is empty.

Can I use the automatic script to control servo motors?

Yes you can control the servo output from the automatic script. See here:

https://api.rcbenchmark.com/rcbgui/v11/rcb.output.html#.set

Here is for example how you normally control the esc:

  • rcb.output.set("esc", 1500);

To control servo 2, you can do:

  • rcb.output.set("servo2", 1200);

If you want you can even set them at the same time like this:

  • rcb.output.set( ["esc", "servo2"] , [1500, 1200]);