Analog Write in Matlab App Designer?
11 ビュー (過去 30 日間)
古いコメントを表示
Is there an equivalent to the analogWrite function in Matlab App Designer? I'm trying to change the color of an RGB LED and I can't find a function that works.
0 件のコメント
回答 (1 件)
Prem Ankur
2018 年 11 月 9 日
編集済み: Prem Ankur
2018 年 11 月 9 日
I believe you can use "writePWMDutyCycle" function in MATLAB, as analogWrite() function basically controls the duty cycle of the PWM signal.
Refer to the following documentation link for more information: https://www.mathworks.com/help/supportpkg/arduinoio/ug/control-leds-1.html
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!