Effacer les filtres
Effacer les filtres

How can i load my code into the arduino?

1 vue (au cours des 30 derniers jours)
Panouoilis
Panouoilis le 19 Jan 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?
  1 commentaire
Kaustubha Govind
Kaustubha Govind le 25 Mar 2014
Which Arduino package did you use to implement your code?

Connectez-vous pour commenter.

Réponses (1)

Anna
Anna le 19 Jan 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.

Catégories

En savoir plus sur MATLAB Support Package for Arduino Hardware dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by