Servo Motors
Read and write to servo motors connected to Arduino®hardware
Create an Arduino object usingarduino
before you use servo functions. SeeConnect to Arduino Hardwarefor more information.
Functions
servo |
Connection to servo motor on Arduino hardware |
readPosition |
Read servo motor position |
writePosition |
Write position of servo motor |
Topics
Learn how to rotate a servo motor using MATLAB®commands.
This example shows how to use the MATLAB® Support Package for Arduino® Hardware to control a hobby servo motor.
Learn about servo motors.