How to use I/O mode to control a servo motor?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Cong Sun
am 24 Mai 2022
Kommentiert: Cong Sun
am 24 Jun. 2022
Hello everyone, I am learning to use Arduino to control a servo motor. I successfully realized the this model, using external mode(run on the board), and the motor worked well. However, if I switch to I/O mode(run on the computer), the motor won't move at all. What other settings should I do?
I have another program that is too large to run on the board, so I want to try I/O mode first in this simple example. Any reply is welcomed. Thank you!

0 Kommentare
Akzeptierte Antwort
Arun Kumar
am 3 Jun. 2022
Hi Cong Sun,
Not all the block support connected IO mode.
The blocks that support this IO mode are listed in the following page:
Other blocks which are not listed in this page will output 0s if you try to run in connecte IO mode.
Hope this helps!
Thanks,
Arun
6 Kommentare
Arun Kumar
am 24 Jun. 2022
Hi Cong Sun,
Changing of PWM frequency is not supported in Connected IO mode.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!