필터 지우기
필터 지우기

Analog Write in Matlab App Designer?

조회 수: 3 (최근 30일)
Thomas Hodge
Thomas Hodge 2018년 11월 7일
편집: Prem Ankur 2018년 11월 9일
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.

답변 (1개)

Prem Ankur
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

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by