Error updating the arduino with the motorshieldv2 library

조회 수: 1 (최근 30일)
bram verhelst
bram verhelst 2016년 1월 28일
답변: Greg Siegle 2020년 1월 20일
Hello,
I am new here but am struggling for two weeks now with updating the motorshieldv2 library to the arduino... I have tried every possible solution online but nothing worked and so I was hoping somebody could help.
When I connect to the Arduino just by a=arduino() it works, also with specifying the com and board type. Moreover it still works if I include the 'servo' library... but when I try uploading the adafruit/motorshieldv2 library it gives me an error: Cannot program board Uno (COM3). Please make sure the board is supported and the port and board type are correct. (by the way the workspace was cleared before launching the last command in the picture below)
I am using Matlab R2015a with windows10 and the hardware support package for arduino is installed.
This probably has a very simple solution and i will probably feel very stupid but I really need this to work so I can start the real work :)
thank you in advance
  댓글 수: 11
bram verhelst
bram verhelst 2016년 2월 22일
thanks D, appreciated!

댓글을 달려면 로그인하십시오.

답변 (2개)

LI
LI 2016년 2월 7일
I encountered this problem today. I tried a lot of possible solutions, but no success. However, after I switched to a different computer, the motor shield library then can be uploaded to the Arduino board. I hope this will help.
  댓글 수: 1
D
D 2016년 2월 17일
Can you specify what PC config you had on the comp that didnt work and on the comp that did work? Windows 10? 8?7? 32bit?64bit?

댓글을 달려면 로그인하십시오.


Greg Siegle
Greg Siegle 2020년 1월 20일
I have this problem when my Arduino is in 2 of the 4 USB slots on my laptop. Changing the USB slot to one of the other 2 slots preserves the same COM port, but it does not try to update the Arduino code, and everything works fine.

카테고리

Help CenterFile Exchange에서 I2C Devices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by