Controlling a servo with a output from a cell array
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!