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

learn more… | top users | synonyms

0
votes
0answers
20 views

Java sending data to arduino to get messsage from arduino

Here i have some question about serial communication between arduino and java netbeans,hear goes i watch many youtube and i google many times about serial communication between arduino and java, and i ...
0
votes
1answer
35 views

Arduino complains about this macro

If I take this code: #define MORSE_LEN_MASK 0x07 #define MORSE_DATA_BASE 3 #define MORSE_DOT 0 #define MORSE_DASH 1 #define MORSE_DOT_LENGTH 101 #define MORSE_DASH_LENGTH (MORSE_DOT_LENGTH*3) #...
0
votes
1answer
129 views

Win10 64bit, IDE 1.8.0 back to IDE 1.6.13 won't compile anything including Blink. 1.6.12 does compile

Arduino: 1.8.0 (Windows 10), Board: "Arduino/Genuino Uno" c:\program files (x86)\arduino\hardware\tools\avr\bin../lib/gcc/avr/4.9.2/../../../../avr/bin/ar.exe: unable to rename 'core\core.a'; reason: ...
5
votes
1answer
71 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 ...
0
votes
2answers
66 views

How to get the ID of an Arduino? [duplicate]

I use Arduino Pro Mini. As I know, every MCU has a number. Different MCU has different number. How to get it ?
0
votes
4answers
46 views

Arduino write/handle long programs [duplicate]

I'm writing a "sketch" in the Arduino IDE which has at this very moment 1500 lines and is going to become much longer. I splitted it in several tabs, but that's not very comfortable to use (I need to ...
0
votes
2answers
47 views

Update custom library

I've recently made a custom library. Then, I've imported the library into the IDE via the add .zip library. Once I tried to compile the code, I've realised that I made a small typo. Once I changed the ...
-1
votes
1answer
22 views

Previous and updated releases of Arduino IDE are not be able to start on Win 8.1 x64

I have tried to install many versions of IDE, but non of them has started successfully. There is just the logo of the program shows up and then nothing happens. My laptop: Toshiba Satellite C50-A630 ...
1
vote
0answers
29 views

Gui Scale on Linux (Fedora 24)

I use Fedora 24 on my Lenovo Yoga 900, which has an extremely high pixel density display. For these situations on Mac and Windows, I find a gui.scaling option in the Arduino settings. However, on ...
1
vote
1answer
36 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 ...
0
votes
1answer
34 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 ...
0
votes
1answer
563 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 rx with other pins. I tried serial.swap() but ...
-3
votes
1answer
24 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
39 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 ...
3
votes
1answer
149 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
1answer
196 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
111 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 ...
1
vote
1answer
576 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
323 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
142 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
109 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
1k 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 ...
0
votes
0answers
63 views

Embedxcode can't find my header files

I recently started using Embedxcode and tried to run a script which requires the adafruit neopixel library. However when I build it, Xcode can't find it. I have followed the Embedxcode installation ...
1
vote
1answer
162 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
0answers
74 views

How to make Arduino IDE find USB board on Raspberry Pi [closed]

We have a 802.15.4 USB board that we would like to add to the recognized boards in the Arduino IDE on Raspberry Pi. We add the files that are supposed to help Arduino identify the USB board in /usr/...
1
vote
3answers
170 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
181 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
1k 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 ...
8
votes
1answer
529 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 ...
6
votes
2answers
1k 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
125 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
88 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 ...
1
vote
2answers
855 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, ...
1
vote
0answers
65 views

Extending mBlock capabilities [closed]

I'd like to use mBlock with my beginning computer science class. We have a number of Zumo Robots that we'd like to use (the Zumo 32U4 also looks interesting), so I'd like to learn how to create new ...
0
votes
1answer
130 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 ...
1
vote
0answers
78 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
69 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
1k 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/...
1
vote
2answers
409 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
459 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
84 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'), ...
2
votes
1answer
3k 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
2k 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
46 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
996 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 ...
0
votes
1answer
44 views

How to avoid report of unsuitable sketch names

I have 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
186 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
269 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
2k 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
99 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 (...