Hi,
I know there is a function called motorRun(a,num,dir) in MATLAB to control motors connected to the arduino...but in the case of using Motor shields such as Motor Shield v2 and/or 16-Channel PWM Servo driver, how would I control the motors through the gui?
As in what would the pinModes be set as, what would the pin numbers be, etc. ?
Thank you
Controlling Adafruit Motor Shields with MATLAB GUI
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 26
- Joined: Mon May 26, 2014 11:00 am
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Controlling Adafruit Motor Shields with MATLAB GUI
The Motor Shield V2 and the 16 channel Servo Controller are both controlled entirely by I2C. You can't control them by simply toggling pins.
Not sure about the servo controller. But this driver has support for MotorShield V2:
http://www.mathworks.com/matlabcentral/ ... or-shields
Not sure about the servo controller. But this driver has support for MotorShield V2:
http://www.mathworks.com/matlabcentral/ ... or-shields
Please be positive and constructive with your questions and comments.