Set the shaft speed of the continuous rotation servo motor.
The value of 0 sets full-speed in one direction, while the value
of 180 sets full speed in the other direction. A value of 90 means
Enter the pin number of the digital output pin (0-53). Use only
one block per pin.
Writes the block input value to the continuous rotation servo
motor. This sets the speed of the shaft. The value of -90 represents
full-speed in one direction, while the value of 90 represents full
speed in the other. A value of 0 means no movement of the shaft. Only
one Servo Write (Continuous) block using a specific pin is allowed
in the model.
This block uses the servo.write function from the servo library.
- Data: inherited data type (internally converted to uint8)
If you run your model on target hardware, this block uses the
data it receives through the block inputs. If you simulate your model
without running it on the target hardware, this block does not do
anything. See TBD.
Set Shaft Speed of Continuous Rotation Servo Motor
Use the Servo Write (Continuous) block to set
the shaft speed of a continuous rotation servo motor.
Install support for Arduino using the Target Installer,
as described in TBD
(Perform the second step — TBD)