Is it possible to Create Custom Arduino Add-On Device, Library, or Code for Arduino DUE?

조회 수: 2 (최근 30일)
I wrote a custom Arduino Add-On following documentation (Create Custom Arduino Add-On Device, Library, or Code) that works very well on Arduino UNO and MEGA. When I update my Add-On on Arduino DUE using the following command:
a = arduino('COM10', 'due', 'Libraries', 'ExampleAddon/HX711');
an error occurs: Cannot program board Due (COM10). Please make sure the board is supported and the port and board type are correct. For more information, see Arduino Hardware Troubleshooting.
The arduino board is original and works well when using Matlab Support package and libraries such as SPI or I2C. If I upload the Arduino server with "arduinosetup" command, no errors occur and my library is detected by "listArduinoLibraries", but when I create an arduino object, Matlab starts uploading server again without my library. I thought there's some special code that must be included in C++ header file, but I can't find anything in documentation. In Matlab support package description this functionality seems to be supported.
  댓글 수: 3
NICHOLAS GIACOBONI
NICHOLAS GIACOBONI 2018년 3월 17일
Hi Carlosgb86, I would be glad to share my library. It will be done within next week.
Nicholas
NICHOLAS GIACOBONI
NICHOLAS GIACOBONI 2018년 3월 26일
Here you'll find my library with the User's Manual: https://it.mathworks.com/matlabcentral/fileexchange/66641-custom-arduino-library-for-hx711

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

채택된 답변

Menghan
Menghan 2017년 12월 13일
편집: Menghan 2017년 12월 13일
Hi Nicholas,
Please contact MathWorks Technical Support for this issue and make sure you provide them your custom add-on code( the entire folder ) to get better support.
Thanks,
Menghan
MathWorks - MATLAB Hardware Team
  댓글 수: 1
NICHOLAS GIACOBONI
NICHOLAS GIACOBONI 2017년 12월 13일
Hi Menghan,
thank you for your answer, I'll contact MathWorks Technical Support as soon as possible.
Nicholas

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

추가 답변 (0개)

카테고리

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