Is it possible to Create Custom Arduino Add-On Device, Library, or Code for Arduino DUE?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
NICHOLAS GIACOBONI
il 11 Dic 2017
Commentato: NICHOLAS GIACOBONI
il 26 Mar 2018
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 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su I2C Devices in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!