Controlling a servo with a output from a cell array

I have a 1x28 cell array that has a bunch of letters in it. I need to pull from each column, and if the letter is this, a certain servo would do that.
For example
%cell array output
R(:,1) = {'U'}
%'U' would turn the top servo 90 degrees, 50 steps
Im new to the matlab arduino library, so not sure how to do this

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 MATLAB Support Package for Arduino Hardware에 대해 자세히 알아보기

질문:

2021년 2월 12일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by