Arduino HEX batch file

Hi all,

I have two questions.

  1. Where can I get a hex file using Arduino IDE?

  2. How can I create a batch file (*.bat) to upload the hex file on Arduino?

Thanks a lot.

  1. Where can I get a hex file using Arduino IDE?

Use File + Preferences to turn on verbose mode, to see where the hex file is created.

  1. How can I create a batch file (*.bat) to upload the hex file on Arduino?

Use a text editor?

PaulS:

  1. Where can I get a hex file using Arduino IDE?

Use File + Preferences to turn on verbose mode, to see where the hex file is created.

  1. How can I create a batch file (*.bat) to upload the hex file on Arduino?

Use a text editor?

  • Thanks. What command lines I should write in the bat file?

there is only one command you need - avrdude.exe - google for the parameters.

If you set the verbose mode the (almost) right command will be shown.