Set shaft position of servo motor
Simulink Coder Support Package for BeagleBone Blue Hardware / Actuators
The Servo Motor block represents a servo motor connected to a specified motor channel on
BeagleBone® Blue hardware. Set the shaft position of the servo motor from
Port_1— Input signal that sets shaft position of servo motor
The input range is between
0 input, the shaft is at 0 degrees, while for the input of
180 the shaft is at 180 degrees. Out of range values, such as
200, to the block input has the same
effect as sending the minimum or maximum input values.
Motor Channel— Select motor channel for servo motor
Select the motor channel or pin on the BeagleBone Blue hardware that is connected to the servo motor.
To open the pin map, click View pin map button.
Assign a unique channel number for more than one Servo Motor block within a model.