Standard Servo Write
Set shaft position of standard servo motor to angle specified in degrees
Libraries:
Raspberry Pi Blockset /
Basic
Description
Use the Standard Servo Write block to control the shaft angle of a servo motor attached to a pulse width modulation (PWM) output pin on the Raspberry Pi® hardware board.
During simulations without the hardware, this block does nothing. See Block Produces Zeros or Does Nothing in Simulation (Simulink).
Note
To generate code C/C++ code for this block, you must have an Embedded Coder® license.
Ports
Input
Parameters
Extended Capabilities
Version History
Introduced in R2016b