Problems with the IDE
In some cases, you may have a problem using the Arduino IDE, particularly on Windows.
If you get an error when you double-click on the Arduino icon, or if nothing happens, try double-clicking the run.bat file as an alternative method to launch Arduino.
Windows users may also run into a problem if the operating system assigns a COM port number of COM10 or greater to Arduino. If this happens, you can usually convince Windows to assign a lower port number to Arduino. First, open up the Device Manager by clicking the Start menu, right-clicking on Computer (Vista) or My Computer (XP), and choosing Properties. On Windows XP, click Hardware and choose Device Manager. On Vista, click on Device Manager (it appears in the list of tasks on the left of the window).
Look for the serial devices in the list under "Ports (COM & LPT)." Find a serial device that you're not using that is numbered COM9 or lower. Right-click it and choose Properties from the menu. Then, choose the Port Settings tab and click Advanced. Set the COM port number to COM10 or higher, click OK and click OK again to dismiss the Properties dialog.
Now, do the same with the USB Serial Port device that represents Arduino, with one change: assign it the COM port number (COM9 or lower) that you just freed up.
If these suggestions don't help, or if you're having a problem not described here, check out the Arduino troubleshooting page at www.arduino.cc/en/Guide/Troubleshooting.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access