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

1 次查看(过去 30 天)
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

回答(0 个)

社区

更多回答在  Power Electronics Control

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by