Convert analog output to digital//PWM with arduino in Simulink

20 views (last 30 days)
Hello, I want to convert output of the potentiometer to PWM/digital output, in Simulink, for my arduino project.
Please help me with this.
Thanks

Answers (1)

Rhea Chandy
Rhea Chandy on 27 Aug 2021
Hi Aakash,
This previously answered question may be useful to you:
If you want to generate square PWM signals depending on the input value sent to the block on the Arduino® hardware pin, please refer to the following documentation:

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!