The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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

Arduino Pro Mini name in CMakeList.txt in CLion

I recently try to get my Arduino Pro Mini (5v 16mhz)running in Clion. I tried to set up the CMakeList.txt but I get the following error: Error:Can not find f_cpu in boards.txt for Arduino board ...
5
votes
4answers
41k 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 ...
-2
votes
1answer
132 views

Fading RGB LED between 10 and 60 cm

What I want to achieve is that between 10 and 60 cm of my HCSR04 sensor the color fades from red to blue on my RGB LED in steps of 1 cm between 10 and 60 cm. I have tried creating some own functions ...
1
vote
1answer
90 views

Arduino Mega 2560 from .org- which IDE works?

My personal choice is to purchase from the .cc (or adafruit) for new boards. YMMV. Craigslist locally of course has generic and .org boards now and then. If I get a .org board on craigslist, will I ...
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 ...
0
votes
3answers
9k views

Cannot upload sketch to Arduino Nano

I've been using Arduino UNO for quite sometime and brought a new Arduino Nano. When I connected it to my computer, the power usb lit up and the blink sketch started running ( as expected of course). ...
0
votes
2answers
212 views

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

Why can't my Arduino IDE recognize serial ports? (Mac El Cap, Ard. UNO)

My Arduino UNO I bought directly from Arduino.cc, so I'm pretty certain it's not a cheap clone. I have a MacBook Pro El Capitan 10.11.5. My Java is 1.8, but I'm pretty sure that doesn't matter. I have ...
-1
votes
2answers
2k views

IF, ELSE IF functions not working with analogRead

not sure what is going wrong in the code below, but it's a simplified code of a larger piece I'm trying to debug. I notice that the code seems to skip to the else statement even though the if ...
1
vote
1answer
288 views

Which (Official) Arduino IDE to use? [closed]

I have bought an Arduino UNO that turned out to be the Italian version (Arduino SRL) not the American one (Arduino LLC). Now when I go to arduino.org and arduino.cc, they both have different versions ...
0
votes
2answers
6k views

Weird characters in Serial Monitor and not functioning ESP8266 ESP-12e

I did a bit of playing with my new ESP-12e, but suddenly it kind of fails on me. It gives me some weird looks it didn't give me (as much) before. This is what the Serial Monitor prints when I try to ...
1
vote
1answer
383 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 ...
3
votes
3answers
3k 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 ...
1
vote
0answers
623 views

Error with libraries after setting up Code::blocks to work as an arduino IDE

I followed this guide: http://arduinodev.com/guide-to-arduino-development-environment-codeblocks/ Everything seemed to work until I compiled the example code: #include <Arduino.h> /* Turns ...
-2
votes
1answer
8k views

Problem: “stray '#' in program” [closed]

I got a sketch from the internet (http://www.instructables.com/id/How-to-build-an-8x8x8-LED-cube-and-control-it-with/) for controlling the display of an 8x8x8 LED cube. The program won't compile and ...
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 ...
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 ...
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 &...
0
votes
1answer
415 views

Arduino compiler uploading last saved version of sketch, not current

Is this an issue or a defined behavior? I am using Arduino IDE 1.6.6 Sometimes I made changes in code, and immediately upload them to the Arduino board. And many times issues already fixed are ...
2
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, ...
0
votes
1answer
322 views

How can I program RFduinos and how can I connect them with Bluetooth?

My RFduino dev kit just arrived, and for my project I have to connect a few RFduinos via Bluetooth and light up certain LEDs attached to the RFduinos. If anyone could point me in the right direction ...
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 ...
1
vote
2answers
304 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-...
0
votes
1answer
6k views

Programming an ATMEGA2560 using FTDI

I want to know how exactly do I program (upload arduino sketches) an ATMEGA2560 which is boot loaded with an Arduino Bootloader using a FTDI programmer and an Arduino IDE, is there any capacitors/...
2
votes
2answers
990 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 ...
0
votes
3answers
2k views

Arduino nano stopped working

After programming Arduino Nano with the DIY Headtracker code, after trying to plug the Arduino to the receiver and some time, the LED stops flashing and now it's not recognized by the computer anymore....
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'), ...
3
votes
1answer
9k 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 ...
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 ...
0
votes
1answer
92 views

IDE to program Arduino Uno especially internal interrupt vectors

I am trying to program this Arduino Uno's Timer1 module to use its Input Capture pin to record the times of edges and store / transmit them during the Input Capture Interupt Service Routine, but I ...
0
votes
2answers
6k views

Where is documentation on Arduino's Internal Interrupts?

First time arduino programmer here...however I have programmed the TI MSP430 in the past... I am trying to figure out how to configure internal Interrupt Vectors on this Arduino Uno. In the Arduino ...
1
vote
2answers
128 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 ...
0
votes
2answers
327 views

#ifdef / #include CPP issue

I'm developing a sketch which I need to run on an Uno (for debug) and a Gemma (as the target). Adafruit has their own Wire library (TinyWireM) which I was planning on using on the Gemma. Thus, I was ...
1
vote
1answer
776 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 ...
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, ...
1
vote
0answers
130 views

Device manager sees my nano as FT232 USB UART not as COM port

Until yesterday I had 2 arduino nanos (atmega328, 16Mhz, 5V), and they worked fine,when I changed the cable and was able to upload code to them. Then I tried to make a breadboard arduino, but my PC (...
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
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 ...
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++, ...
0
votes
1answer
67 views

IDE support for Arduino micro

I have an Arduino micro http://arduino.cc/en/Main/arduinoBoardMicro I was looking to know which is the lowest version of the IDE that support it. Actually on the IDE 0023 is not present in Tools > ...
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 ...
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)...
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 ...
0
votes
2answers
199 views

Debugger with Breakpoint and Variable read/set capability

Is there any free/open or commercial/paid Arduino IDE Sketch Debugger (not Atmel chip factory standard tool set) with Breakpoint and Variable read/set capability? I read about VM on web. Is there ...
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 ...
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
1answer
240 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, ...
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 ...