Behavior Control
Help Index


How To Add This Control To Your Project

  1. Load the most recent release of EZ-Builder
  2. Press the Project tab from the top menu bar of EZ-Builder
  3. Press Add Control from the button ribbon bar of EZ-Builder
  4. Choose the Servo category tab
  5. Press the Speed icon to add the control to your project
Allows you to control the speed of a servo or PWM between two positions. Before this control can be used, the Servo must have a position specified. This is because the servo position must be initialized before setting a speed. Of course, we encourage you to use EZ-Script and therefore the ServoSpeed() command. Because this servo positions must be initialized before specifying the servo speed, this control does not save the last setting, or restore settings when the project is loaded. If you wish to have your robot initialize a servo speed when connected, use the Connection Control and the ServoSpeed() command in an initialization script.

The ServoSpeed() command has a writeup in the manual about its use. Please read the manual to identify the usage case for the ServoSpeed() command when using EZ-Script.

As for this control, it can be used for quickly identifying and experimenting with servo speeds for your application.

Speed : Delay for ezb v4
10 = 100 ms 
9   = alternating between 80, 100 ms
8   = 80 ms 
7   = alternating between 60, 80 ms
6   = 60 ms
5   = alternating between 40, 60 ms
4   = 40 ms
3   = alternating between 20, 40 ms
2   = 20 ms
1   = 20 ms, but the angle step is 2 or -2

The delay of speed is discussed here


Related Tutorials