Block and I/O pin availability varies by board type.
The PIN menu on these blocks can be set to “other.” When “other” is chosen, the dropdown menu disappears, and it is replaced with an input. You can then use any block that provides a numeric value such as a number value, get variable, or constant value block:
This block launches a processor automatically; using up to 14 servos on different Propeller I/O pins will not launch additional processors.
Use this block with the Parallax Standard Servo (#900-00005) and the Propeller Activity Board WX, Propeller FLiP, S3 Robot, and Other board types. Not available for the Badge board type.
The standard servo block sends control pulses to position a Parallax Standard Servo.
Once set, the control pulses will continue until the program encounters another standard servo block or servo disable block for that servo’s Propeller I/O pin.
This block launches a processor automatically, using up to 14 instances of this block will not launch additional processors.
Use this block with the Parallax Continuous Rotation Servo (#900-00008) and the Activity Board WX, Propeller FLiP, and Other board types. Not available for Badge or Scribbler Robot board types.
The CR servo speed block sends control pulses to a servo connected to PIN selected by the drop-down menu that tells the servo what speed in which direction to turn. Negative speeds turn the CR (Continuous Rotation) servo clockwise, and positive speeds turn the servo counter-clockwise. A speed of 0 (zero) stops the CR servo. The speed can be from -200 to 200. In most cases, you will notice most of the change in speed from -100 to 100.
The CR servo speed block sends pulses to control speed and direction of a Parallax Continuous Rotation servo.
Once set, the control pulses will continue until the program encounters another standard servo block or servo disable block for that servo’s Propeller I/O pin.
*If your Parallax CR Servo rotates slowly or buzzes when set to zero, you may need to center it. Very gently, insert a Philips tip screwdriver into the access hole in the servo’s case and slightly twist the potentiometer until the servo holds still.
Use this block with the Parallax Continuous Rotation Servo (#900-00008) and the Activity Board WX, Propeller FLiP, and Other board types. Not available for Badge or Scribbler Robot board types.
The CR servo set ramp block sets the maximum amount that the CR servo’s speed connected to the PIN specified in the drop-down menu can be changed each update cycle. A rampstep of 1 means that the servo’s speed can only change 1 unit every 20ms – meaning that its response will be very sluggish. A rampstep between 4 and 8 is a good compromise between responsiveness and protecting the servo from sudden speed changes that can damage the servo.
This block launches a processor automatically, using up to 4 instances of this block will not launch additional processors.
Use this block with the Parallax Feedback 360° High-Speed Servo (#900-00360) and the Activity Board WX, Propeller FLiP, and Other board types. Not available for Badge or Scribbler Robot board types.
The Feedback 360° servo initialize block sets up communication between the servo and the Propeller microcontroller. If you forget to use this block in your project, a triangle warning will appear on other Feedback 360° servo blocks as a reminder.
Use this block with the Parallax Feedback 360° High-Speed Servo (#900-00360) and the Activity Board WX, Propeller FLiP, and Other board types. Not available for Badge or Scribbler Robot board types.
The Feedback360° servo configure (formerly setup) block sets the maximum value for the servo behavior chosen.
Use this block with the Parallax Feedback 360° High-Speed Servo (#900-00360) and the Activity Board WX, Propeller FLiP, and Other board types. Not available for Badge or Scribbler Robot board types.
The Feedback360° servo setup block sets the value for the servo behavior chosen.
Use this block with the Parallax Feedback 360° High-Speed Servo (#900-00360) and the Activity Board WX, Propeller FLiP, and Other board types. Not available for Badge or Scribbler Robot board types.
The Feedback 360° servo get position block provides the angular position of the specified servo. The origin for the angle is the position the servo was in when initialized. Set the PIN dropdown to the Propeller I/O pin number connected to the servo’s control or feedback signal line — either one will work.
The Feedback 360° servo status tests whether the servo is (1/true) or is not (0/false) in the state chosen from the drop-down menu. This block does not change the servo’s behavior but merely observes.
The servo disable block stops any servo control signals being sent by the Propeller I/O pin chosen in the drop-down. The servo disable block does NOT free up the processor that was launched by the Standard servo or CR servo speed block.