Erase a program from arduino

2 ビュー (過去 30 日間)
Cosimo Mercuro
Cosimo Mercuro 2016 年 12 月 9 日
編集済み: Hari Desanur 2016 年 12 月 12 日
Hi. I'm newbie to simulink. I've just deployed a simple program to my ArduinoUno board. It works in embedded mode ( the led bilnks every time I connect the arduino uno to USB cable) Now I'd like to erase the program and try a new one. The question is: wich is the better way to do this? Thanks in advance.

回答 (1 件)

Hari Desanur
Hari Desanur 2016 年 12 月 12 日
編集済み: Hari Desanur 2016 年 12 月 12 日
When you upload a new model/code to an Arduino, it completely erases the previous code on the Arduino.
So you can make changes to your Simulink model and rebuild it again or build a new model onto the Arduino. The previous program on the Arduino will be erased.
For more information -
https://www.mathworks.com/help/supportpkg/arduino/ug/stop-or-restart-a-model-on-the-arduino-hardware.html

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Arduino Hardware についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by