I can't connect my Adafruit Motorshield v2.3 with matlab2014a.

1 visualización (últimos 30 días)
mona willtig
mona willtig el 16 de Feb. de 2016
Comentada: Menghan el 24 de Mayo de 2016
Hello :)
I try to connect my Adafruit Motorshield v2.3 with Arduino Uno on matlab2014a (64bit as Win10):
Code:
a = arduino('COM6', 'Uno', 'Libraries', 'Adafruit/MotorShieldV2') Updating server code on Arduino Uno (COM6). Please wait.
Cannot program Arduino board Uno (COM6). Please make sure the board is supported and the port and board type are correct.
I installed the Arduino Addons and this works fine:
Code: a = arduino('COM6', 'Uno') Updating server code on Arduino Uno (COM6). Please wait.
a =
arduino with properties:
Port: 'COM6'
Board: 'Uno'
AvailableAnalogPins: [0, 1, 2, 3, 4, 5]
AvailableDigitalPins: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
Libraries: {'I2C', 'SPI', 'Servo'}
Is there a way to implement the Adafruit code? for me it seems this is missing.
Thanks for any help!
  7 comentarios
QINGCHEN LIU
QINGCHEN LIU el 6 de Mzo. de 2016
Hey Sebastian,
thanks for the posted solution, when I type your trace on code and I get this error message below: The Arduino source 'Adafruit_MotorShield/Adafruit_MotorShield.h' for libraries 'Adafruit/MotorShieldV2' cannot be found. Install the 3P library source first and try again.
How can I deal with this? Thanks very much
Menghan
Menghan el 24 de Mayo de 2016
Hi,
This issue has been fixed in MATLAB R2014a and onwards. If you have already installed the support package, please update it or reinstall the support package to get the latest update including the fix.
Please feel free to contact our Technical Support if you still see the error.
Thanks,
Menghan
(MathWorks - MATLAB Hardware Team)

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by