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

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)

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

Products

Asked:

on 11 Aug 2021

Answered:

on 27 Aug 2021

Community Treasure Hunt

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

Start Hunting!