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.

130 questions
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
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
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
4
votes
4 answers

Arduino Uno 3: Stuck at 'uploading...' sketches

I was playing around with my Arduino Uno R3 board with Sublime Text 2 & 'Stino' as IDE I am not sure if it is my code is the problem or if I broke something... I pressed upload while another sketch didn't finish uploading, even the original Arduino…
robertgzr
  • 43
  • 1
  • 1
  • 4
2
votes
0 answers

Using Visual Studio Code with Arduino

I'm trying to figure out how you can work with multiple sketches using Visual Studio Code and the Arduino. Let's say I have three projects that I want to actively develop. Motors.ino Motors_with_controls.ino Motors_with_lights.ino Each one is a…
wforl
  • 21
  • 1
2
votes
2 answers

Why does the standard Arduino IDE not include the CH341G USB Drivers?

Can anyone explain why the standard Arduino IDE 1.6 distribution does not include support for the popular CH341G USB/serial drivers? I am using these USB/serial chips in several teaching projects for CoderDojo and it is somewhat difficult to have…
Dan McCreary
  • 307
  • 1
  • 3
  • 11
1
vote
1 answer

Programing other Atmel ARM chips using Arduino

Ok, i know professionals generally hate Arduinos, but I would like to know if it would be possible to program Atmel ARM chips using the Arduino IDE. By which I mean, not needing to modify the source code, just add another entry into the "hardware"…
Silviu Stroe
1
vote
1 answer

Is there a way to read real-time port selection on Arduino IDE when using third-party toolchain and uploading program?

I am using a third-party program to build the binary file and upload it under Arduino IDE's GUI, meaning I am not using the built-in avr-gcc nor avrdude for building and uploading. As there is a on-board DAP chip, uploading binary file is done by…
Simon X
  • 21
  • 2
1
vote
0 answers

vscode arduino integration errors

I'm just trying to understand how vscode can compile arduino sketch. Now I uploaded some sketch to arduino and it was fine. Now I'm trying to add my own header files to .ino sketch and I got weird faults. I don't understand whats happening. I know…
qqq
  • 21
  • 3
1
vote
2 answers

Installing MariaMole (Alternative IDE) on Mac

I've heard about a alternative Arduino IDE called MariaMole and really liked the idea, but I just don't know how to install it on Mac OS X. The GitHub page claims that it is compatible with Mac but I just can't find a tutorial, or instructions, as…
TheGMX
  • 11
  • 1
1
vote
1 answer

Arduino IDE menu doesn't display properly (missing letters)

I have just installed newest version of Arduino 1.7.10 from arduino.org. It has this problem that its menu are not displaying properly - when I hover mouse over items in menu they either disappear completely or some of the letters are missing.…
zupazt3
  • 111
  • 1
0
votes
1 answer

Arduino IDE Board Selection for 32u4 on custom PCB

I am using a 32u4 on a custom PCB: 3.3v, 8MHz. Are there any operational differences between using the Sparkfun ProMicro selection versus the Adafruit ItsyBitsy selection in IDE, since they are both for the 32u4?
user19216
0
votes
2 answers

If - else statement in Arduino

I'm starting to learn how to use Arduino and I tried to make this code, which is just a simple if else statement; what I want to make is when the input is LOW, LED 1 is HIGH and LEDs 2,3 are LOW, and when the input is HIGH, the LEDs 2,3 are HIGH and…