I'm surprised it managed to set the RTC to something different! I'd imagine that most code the Arduino IDE would send would just be interpreted as invalid JavaScript code.
The Arduino IDE gets confused because it's just expecting to communicate with a serial port (or a USB device pretending to be a serial port) - it's older technology, and unlike USB there was never any way for the program to know which port it should talk to... If it sent some data and it didn't get the response it wanted, it was probably the wrong port :)
The Espruino IDE would do the same thing as well I'm afraid.
Windows tends to remember each USB device though and tries to give it its own number, so if your Arduino was on COM24 (or whatever it is) it should always stay at that number.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm surprised it managed to set the RTC to something different! I'd imagine that most code the Arduino IDE would send would just be interpreted as invalid JavaScript code.
The Arduino IDE gets confused because it's just expecting to communicate with a serial port (or a USB device pretending to be a serial port) - it's older technology, and unlike USB there was never any way for the program to know which port it should talk to... If it sent some data and it didn't get the response it wanted, it was probably the wrong port :)
The Espruino IDE would do the same thing as well I'm afraid.
Windows tends to remember each USB device though and tries to give it its own number, so if your Arduino was on COM24 (or whatever it is) it should always stay at that number.