Saving .HEX file from .pde

Hello,

I am new to the Arduino software and I need to run a simulation in Proteus Pro 7.6 Sp0. I need the hex file in order to simulate so my question is how would you extract the file? Probably a dumb question but I haven't been able to figure it out. Thanks in advance!

Hi,
Just a few steps :

  • Load your Sketch
  • Select your target hardware from the Menu "Tools->Board"
  • Click upload. You don't need any Arduino-hardware for this. The IDE will compile the Sketch before it tries to upload your code.
  • You find the Hex-File in the "applet" directory of your Sketch

Eberhard