Questions tagged [ide]

Integrated Development Environment - software that allows you to write and compile code. Use the arduino-ide tag for questions about the official Arduino software.

The process of programming consists of several stages, including:

  • editing the source code
  • managing libraries and build events
  • compiling/linking the program (or sketch)
  • debugging the program when it is running

In the case of Arduino, it typically also involves uploading the sketch to a device.

Each part of this process is often managed by a separate program. These are often command-line based, and can be quite difficult to learn. However, an Integrated Development Environment (IDE) combines everything into one application, and often automates several common tasks. This simplifies the programmer's workflow, allowing him/her to focus more on the project at hand.

The official Arduino software is a very light-weight IDE, based on the Processing Development Environment. It includes all of the essential functionality for writing and uploading Arduino sketches, but lacks several features which are found in more sophisticated applications.

Some users prefer more mainstream IDEs, which can have plug-ins or extensions to support Arduino. These include Eclipse, Visual Studio, and XCode. More information about alternative IDEs can be found on this question.

If the question is about the official Arduino IDE use the tag.

134 questions
94
votes
22 answers

What are the other IDEs for Arduino?

The basic Arduino IDE lacks a lot of the sophistication present in other IDEs such as code completion, code collapsing, folder organisation, etc. Are there other IDEs that allow programming in C or C++ and improve on these aspects?
DLJ
  • 1,149
  • 1
  • 10
  • 10
45
votes
2 answers

Warning when verifying sketch with VS code

I use Visual Studio Code to develop for arduino which uses Arduino Studio installed files and needs the installation to work. This works very well. Annoying is that when verifying a sketch it takes longer than in the Arduino IDE. I suspect the…
Uwe Hafner
  • 1,031
  • 1
  • 9
  • 12
23
votes
4 answers

List of Arduino board preprocessor #defines

When one selects a board within Arduino IDE, a preprocessor definition is added to one of the behind-the-scenes files. After a lot of hunting and some good fortune I found that the format of this definition is: #define…
CharlieHanson
  • 1,430
  • 1
  • 11
  • 25
14
votes
4 answers

Can I use notepad++ for writing sketches?

Before I install the Arduino IDE, I was just wondering whether I could just use notepad++ to write the files and move them into correct location. I assume notepad++ doesn't support Arduino code, but I suspect there will be a mod for it, even though…
user3137
14
votes
8 answers

Is it possible to upload a program from a tablet?

Is there any easy way to upload a program/sketch from an iPad or Android tablet without adding extra an shield (Bluetooth or Wi-Fi)? If not, can it be done using shield? Which shield is preferred? Also what are the IDE options available?
Rajendra
  • 301
  • 1
  • 3
  • 4
13
votes
1 answer

Is it possible to upload previously compiled binary?

I have a number of sketches that I keep wanting to load into the Arduino but I don't necessarily need to recompile them because I haven't changed anything since the last compile. Since the compile takes a minute or 2 each time, this would save me…
Lefty
  • 347
  • 2
  • 4
  • 12
11
votes
2 answers

Understanding the compilation/linking/upload process (so I don't have to use the IDE)

I have started to play with and arduino UNO quite recently (without any prior experience with micro-controllers). I would like to use emacs instead of the IDE, and I'd also like to know what the IDE does under the hood, in order to be able to write…
Ash
  • 225
  • 1
  • 11
10
votes
5 answers

How to I make the Tx and Rx pins on an ESP-8266-01 into GPIO pins?

When programming an ESP-01 with Arduino IDE, how can I make the Tx and Rx into a generic I/O pins reliably? I think there's a command to swap the Tx and Tx with other pins. I tried serial.swap() but it didn't work. So how to get done with Arduino…
vzxc
  • 101
  • 1
  • 1
  • 4
10
votes
1 answer

How to simply close a tab?

How can one close a tab in the Arduino IDE? There is a Tab button (little triangle) with the Option "Delete"(kind of misleading term). There is no "Close" option. And the "Delete" option doesn't do the job for me either, because the tabs are…
Anton Alice
  • 203
  • 1
  • 2
  • 4
8
votes
3 answers

Arduino screws up trivial program involving enum

Behold this insanity: enum WhatArduinoIs { Easy, But, Insane, Obsolete, And, Far, Worse, Than, mBed }; void TellMe(WhatArduinoIs pls) { } void setup() { } void loop() { } I'm pretty good at C++, so I'm fairly sure that should compile. However I…
Timmmm
  • 183
  • 2
  • 5
8
votes
1 answer

Is there a way to detect if Arduino, Stino or another IDE/toolchain is in use?

I've noticed some irritating differences between the Arduino IDE and Stino (mainly around including certain header files). These are likely bugs that need following up with one or both of the parties, but in the meantime, I would like my code to…
Cybergibbons
  • 5,420
  • 7
  • 34
  • 51
8
votes
4 answers

Can I use Visual Studio instead of Arduino IDE?

I think that Visual Studio is a great product! I find the Arduino IDE is limited in its features. For example the Arduino IDE does not have: Code prediction Error highlighting Previews of #define values Peek at code definition Jump to code…
sa_leinad
  • 3,218
  • 2
  • 23
  • 51
8
votes
3 answers

Access denied when Uploading

I went to upload my sketch to my Uno (r3), but unusually, the Upload Console returned this error: avrdude: ser_open(): can't open device "\\.\COM4": Access is denied. Just started seeing this, cannot upload.
samiles1995
  • 81
  • 1
  • 1
  • 2
6
votes
2 answers

Are there any alternatives to Tinkercad Circuits that is PC application based instead of web app based?

I have been using Tinkercad's Circuits web application to create my Arduino circuits and apply my Arduino code (c++) for testing. Despite the amazing product they have and the fact it's free, I find myself very disappointed at times. Don't get me…
Arvo Bowen
  • 163
  • 1
  • 1
  • 5
5
votes
1 answer

How to debug an Arduino sketch on a Mac?

I have 2 Lowpowerlab WaterMote's talking to each other using the 'out of the box' pre-installed sketch that just confirm they're talking to each other. I verified this by opening a COM connection and saw traffic of 'receiving packets...' That was…
Jose Leon
  • 735
  • 1
  • 6
  • 11
1
2 3
8 9