Main Content
Standard Servo Write
Set shaft position of standard servo motor to angle specified in degrees
Add-On Required: This feature requires the Simulink Support Package for Raspberry Pi Hardware add-on.
Libraries:
Simulink Support Package for Raspberry Pi Hardware /
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.
Ports
Input
Parameters
Version History
Introduced in R2016b