We’re rewarding the question askers & reputations are being recalculated! Read more.

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.

Filter by
Sorted by
Tagged with
87
votes
21answers
15k views

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++...
13
votes
5answers
13k views

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 ...
13
votes
8answers
6k views

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? ...
11
votes
2answers
7k views

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 ...
11
votes
1answer
4k views

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 ...
11
votes
1answer
1k views

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 ...
8
votes
4answers
7k views

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 ...
8
votes
1answer
241 views

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, ...
7
votes
3answers
3k views

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++, ...
6
votes
1answer
7k views

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 doesnt do the ...
5
votes
4answers
42k views

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 ...
5
votes
1answer
441 views

Collection of functions for arduino IDE

I am having troubles creating a collection of functions to be used in Arduino sketches and libraries. What I want is not a class, but simply a group of functions which do not require an object to be ...
5
votes
2answers
2k views

Can I switch from Arduino IDE to Atmel studio or Visual Micro but still use Arduino library?

If switch from Arduino IDE to Atmel studio or Visual Micro, how to use existing Arduino library? Library serves important function of 'packaging' real and complex hardware (like NRF24L01 radio board)...
5
votes
1answer
3k views

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 ...
4
votes
2answers
4k views

How do I debug on-chip with Arduino?

Though an emulator is quite useful for debugging code that has no side effects, most real-world applications include some circuitry besides the Arduino. If a microcontroller on an Arduino had a JTAG ...
4
votes
3answers
2k views

“Stand-alone” serial monitor

I usually use Platformio as IDE for my Arduino projects. I like it as an editor, but I don't like its serial monitor feature. So I often open the Arduino IDE in background to use its serial monitor, ...
4
votes
1answer
2k views

What's the difference between #define and const int when declaring a pin? [duplicate]

Over the course of my Arduino usage and learning, I've noticed that in some sketches people use the #define command to declare pins, while some others simply use const int for the same. My question ...
3
votes
2answers
6k views

Is there alternative to arduino IDE program ESP8266 and ESP32 with arduino toolchain? [closed]

I use ESP8266 and ESP32 with arduino toolchain rather than pure arduino hardware. Arduino IDE is standard and proven but what are the other IDE and advantage/disadvantage ?
3
votes
3answers
4k views

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 ...
3
votes
1answer
10k views

How to use C Libraries for Arduino code

I have a code in Visual studio that I want to implement in Arduino. But there is a problem. Many libraries usable in Visual Studio aren't usable in the Arduino IDE. How can I use them in my Arduino ...
3
votes
3answers
8k views

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, ...
3
votes
2answers
239 views

Visual Studio integration with Arduino

I use Visual Studio 2015 extensively for work, so it would seem like a logical choice for getting started with Arduino programming (though my C/C++ is rusty, that may take some time to get back). From ...
2
votes
2answers
995 views

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 ...
2
votes
1answer
3k views

Trying to track down macro or #define values, possibly in arduino preprocessor

In reading various code I stumble across symbols that seem to be the result of #define or other macro like symbols that I cannot find just by tracking through the code ( including its chain, if any, ...
2
votes
2answers
96 views

Use std::list in Arduino programming

When trying to compile #include <list> std::list<byte> l = { 7, 5, 16, 8 }; in the Arduino IDE (with ATtinyCore for ATtiny4313), I get this message: error: list: No such file or ...
2
votes
1answer
686 views

How do I change number and bracket colors in the arduino IDE?

I recently personalized my arduino IDE (changed the background color, input text color, etc....) by going into the theme.txt file and replacing some hexadecimal values. I made the background black and ...
2
votes
3answers
34k views

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 ...
2
votes
1answer
67 views

Custom boards list

Is there a simple way to create or modify my boards list? I find having a full library listing confusing. I have about 6 boards I program regularly, but using the listings from the board manager gives ...
2
votes
1answer
61 views

What is the correct way to create large project files?

I am currently working on a 10x10 RGB LED screen (using Neopixels from Adafruit) and my project files are starting to get rather large. I have several different devices used in this project: The LED ...
2
votes
0answers
112 views

Using embedXcode with Adafruit Trinket

I'm trying to get set up to develop for the Adafruit Trinket on a Mac running the OS X El Capitan beta (10.11.2 beta) with Xcode and embedXcode. I've got the Arduino IDE downloaded from arduino.cc ...
2
votes
0answers
86 views

How to program for two Arduinos with different code but share one same .h? [duplicate]

I am now programming for two Arduinos. One is used as Tx and the other is Rx. Of course they are programmed by different codes, but they share some same .h files I programmed(let's say 'share.h'), ...
1
vote
4answers
120 views

Porting code from Arduino IDE to other IDEs - expected code size reduction

Could I realistically be expecting some 25% - 50% code size reduction if I abandoned Arduino IDE's framework and moved to something more rudimentary such as AVR Studio ? I am using the EEPROM, Timer1 ...
1
vote
4answers
98 views

How do arrays work?

It's been days now I'm trying to figure out how arrays work in Arduino IDE. For better understanding, I assembled some pieces of code I found here and there to write this sketch: #define arrayLength(...
1
vote
1answer
225 views

Is it possible to reduce the size of this program to 1KB

I want to use attiny13 in my project but this program is going over 1KB void setup() { Serial.begin(9600); delay(2000); Serial.println("AT+CMGF=1"); delay; } void loop() { for (int i=0 ;i &...
1
vote
2answers
151 views

Fancy Arduino IDE [duplicate]

Do you know an IDE that is Arduino compatible, with: Black background; white hurts my eyes. Some auto completion features maybe? And also one that lets you minimise brackets. Xcode like. A better ...
1
vote
2answers
5k views

2 way communication between Arduino with XBee and Computer

I have an Arduino Uno with a Wireless SD Shield and XBee S1 and a PC with another XBee S1 connected to it. What I'm after is for me to be able to send a message from my computer and receive a message ...
1
vote
2answers
141 views

How to avoid report of unsuitable sketch names?

I bought a kit of 37 sensors for Arduino, and downloaded all the example sketches. Now, when I try to start up the Arduino IDE I get a lot of frustrating messages like this: ... and I have to ...
1
vote
1answer
34 views

How to install several IDE version on my PC

How can i install old version of IDE, without uninstalling the other version?(How can i install several IDE version in same laptop).
1
vote
1answer
59 views

Array Addressing

Is it possible to use a name instead of a number to address an array? I was reading about enum lists and thought it might be possible. ie int array[3] = {something, somethingElse, somethingMore] ...
1
vote
2answers
306 views

Is it possible to package a sketch with dependent libraries for cross-platform compatibility?

I have a complex sketch that I spent many weeks working on, which I am backing up frequently because I'm afraid of losing any of my progress. I'm wondering if it's common practice to make a self-...
1
vote
1answer
1k views

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 ...
1
vote
1answer
162 views

Compiling Error

I am trying to compile this code on arduino IDE...It showing error code is #include <IRremote.h> int RECV_PIN = 6; int led = 12;//1FE50AF int led1 = 10;//1FED827 int led2 = 9; //1FEF807 int ...
1
vote
1answer
41 views

Why the global variables info is not shown for Arduino Due in IDE?

If I compile a sketch for the Arduino Mega: Sketch uses 1804 bytes (0%) of program storage space. Maximum is 253952 bytes. Global variables use 188 bytes (2%) of dynamic memory, leaving 8004 bytes ...
1
vote
1answer
126 views

Error “avr-g++: error: CreateProcess: No such file or directory” When Compiling Script

Whenever I try to compile a script, the Arduino IDE throws the error avr-g++: error: CreateProcess: No such file or directory. I've already tried reinstalling the IDE, changing the board version in ...
1
vote
2answers
569 views

Where should a modified “pins_arduino.h” be stored for Arduino IDE compile?

Our PCB uses an ATmega2560 chip and uses most of the pins, including some that are not defined in the standard pins_arduino.h module, since that module only provides for the pins that are brought out ...
1
vote
1answer
343 views

HMC5883L - Tilt compensation without Accelerometer

Trying to get an HMC5883L to compensate for being installed in 90 degrees. Doesn't seem to me that it'll need too complex math or accelerometer. But I have no idea how to do the compensation for it. ...
1
vote
1answer
385 views

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 ...
1
vote
1answer
789 views

How can I use a 'Global' class object?

I created a class inside the sketch file(not in another file) and init it as object before setup() and loop() as a global object, after I change some parameters inside the object in setup() , I found ...
1
vote
1answer
2k views

Issue with adding a library: No such file or directory

I downloaded a Library called "Morse" which I got from the Arduino website: http://arduino.cc/en/Hacking/LibraryTutorial (all the way at the bottom of the page there is a link called Morse.zip) And ...
1
vote
2answers
908 views

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 ...