how I could control a dc motor with monster moto shield vnh2sp30 by matlab coding?

2 views (last 30 days)
john white
john white on 5 Jan 2019
Edited: john white on 5 Jan 2019
I want to control a dc motor with monster moto shield vnh2sp30 and arduino Uno board with writting m file
I used this code :
a=arduino('com9','uno');
writeDigitalPin(a,'D7',1);
writeDigitalPin(a,'D8',0);
but nothing happened!
please help

Answers (0)

Communities

More Answers in the  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!