You need to log in to create posts and topics.

Compile and upload for 2 arduinos

Hello friends, I am very grateful to the developer and the SimulIDE community. I have tried unsuccessfully to compile for two Arduinos with different code on the same circuit, for only one it has been fantastic, could you provide me with a link that guides me? I use Windows 11 and SimulIDE 1.1.0 latest stable version from 12/23/2024
I clarify that I have been able to do it by separately loading each HEX file generated in Arduino IDE, however I would like to do it directly from SimulIDE.
Thank you very much

Hi.

When there are more than one MCU in the circuit you need to choose which one will be "linked" to the Editor:
https://simulide.com/p/compiler/#compiling

If the MCU is inside a board, like Arduino, then you can access it from Arduino context menu:

Arcachofo, thank you very much for the link, I will do as you indicate. If I have two Arduinos in the simulator window, can I alternate them as the main controller? in order to program them one at a time from the editor window. I have noticed that the folder containing the .sim1 file only accepts one .ino file, if there are 2 or more it does not compile. Is this correct?

Yes, you can alternate, every time you want to change the controller to upload yo choose which one.

About sketches, you should put each sketch in a folder with the same name as the sketch.
This is not related to Simulide, it is how Arduino works.

OscarES has reacted to this post.
OscarES

Thank you very much!
I will do as you say.