Clear Filters
Clear Filters

How do I resolve the writePWMDutyCycle error?

4 views (last 30 days)
mayday
mayday on 14 Jul 2022
Answered: Rishita on 15 Jul 2022
I'm going to link matlab and arduino and show it on the app designer. But there is an error in the WritePWMDutCycle command sentence. Does anyone know the solution? Or is there a tool needed to run the WritePWMDutyCycle?

Answers (1)

Rishita
Rishita on 15 Jul 2022
writePWMDutyCycle(a, pin, dutyCycle)
sets the PWM duty cycle on a digital pin specified for the Arduino® hardware a.

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!