Is there a way to start the ide with a specific project. and configure the appropriate com port for that sketch.
I have several Arduino's connected to my pc.
When my computer shutdowns for an update or something and reopen the ide i often upload the wrong code to the wrong arduino.
because all projects i open are connected to the latest used com port.
My laptop is using windows.
I can open the sketch by opening the ino.
But i want also to save the appropriate com port each project.
So if i open project one it should be com8
when i open project 2 the com is set to com12
when i open project 3 its com18 etc etc
Do you have a board plugged in to your usb at the time?
If I open any code I've written without having a board connected the tools always show Com 1 but if I plug in a board the program goes to Com 8 each and every time.
So no problem for me there.
As it stands I've kind of become used to having to do the "browse" thing , the rest works flawlessly.
O mine always opens with the latest used com port.
but Now i have a line as remark in my code with the approriate com port for each program. but if it opens with the correct port i don't need to think about it any more