Azzera filtri
Azzera filtri

How can i load my code into the arduino?

1 visualizzazione (ultimi 30 giorni)
Panouoilis
Panouoilis il 19 Gen 2014
Commentato: Kaustubha Govind il 25 Mar 2014
Hi everyone!
I am using matlab in order to program an arduino microcontroller. My code works fine and i have the results i need in the circuit i have designed. My problem is that i cannot find how to load the code into arduino, so that i will be able to run without the pc. I am sure that this is very easy when using the arduino sofware, but is there a command in matlab? Any help?

Risposte (1)

Anna
Anna il 19 Gen 2014
Is your LED13 lit? If the LED13 is lit,indicating that the arduino is waiting for a response from Matlab to start, load the m file, and change the com port to the port where the arduino USB is mapped on your PC. Run the .m file, and LED13 will turn off as Matlab signls the arduino.

Categorie

Scopri di più su MATLAB Support Package for Arduino Hardware in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by