This is for questions about the official IDE. The open-source IDE makes it easy to write code and upload it to any Arduino board. It runs on Windows, Mac OS X, and Linux.

learn more… | top users | synonyms

0
votes
1answer
33 views

Cannot convert 'String' to 'uint8_t {aka unsigned char}' in initialization

Hey all I am trying to convert a string into a uint8_t with the following code: String data = "#255101987"; String tmp1 = data.substring(1, 3); uint8_t first = (String)tmp1; I am getting the ...
0
votes
1answer
35 views

Sketch Upload to LinkIt ONE Timeout

I've just bought a new LinkIt ONE IoT prototyping board, and I'm having trouble getting started with it. I'm working on a mac. I've installed the LinkIt ONE SDK onto my Arduino IDE as specified in ...
0
votes
1answer
96 views

ESP8266 wifi module sending data via jQuery

Hey all I have the ESP8266 module and I have already set it up and it's working good. However, when I run this HTML page code here: <html> <head> <title>ESP8266 LED ...
0
votes
0answers
36 views

I am running 1.6.5, but the folder says 1.6.3?

I just downloaded the latest version of the Arduino software (1.6.5). However, when I look into the Application Support folder under Library (I have a mac), I find that I have a folder named 1.6.3: ...
0
votes
0answers
74 views

Manual Arduino Due Installation

Not sure if this is the right place to post this. I have an Arduino Due I'd like to start using. I've been using Unos, Megas etc no problem. The newer IDEs have removed the Due support. I've been ...
-1
votes
0answers
21 views

Arduino Micro acting unstable when uploading sketch from OSX

I have built a bunch of Arduino Micro clones with an embedded GPS. Unfortunately the board is acting very unstable when uploading a sketch. 1 out of 40 times i am able to upload the sketch and ...
0
votes
0answers
22 views

Linear equation solver Arduino Calculator, printing wrong answer

I wrote a code in C to solve equations, but I don't know why some equations that I input into this calculator, give me wrong values, the algorithm is correct because I execute it in C and give me the ...
0
votes
1answer
207 views

Problems uploading sketch to Arduino Due

Windows 7 here. I just bought an Arduino Due and downloaded the Arduino IDE. I wrote a simple "blink LED" program (see below) and am trying to flash it to the Due. When I connected the Due to my ...
0
votes
1answer
20 views

Arduino IDE / Teensy 3 on Ipad

Does anyone know a good IDE for Ipad to write Arduino code and compile it for teensy 3 ? Answers with different alternatives would be appreciated
0
votes
2answers
58 views

Is there such a thing as an “Always” loop?

I seem to remember somewhere somebody making an "Always" loop between Setup() and Loop(). But I can't find any documentation on it. Does such a thing exist, or am I imagining it?
0
votes
1answer
34 views

Serial.println Sensor Value and text in one line

How do I put the sensor value and text on the one line in the serial monitor. I just want Pot Value 30 to show in the serial console. What am I doing wrong? Serial.println("POT value ...
0
votes
1answer
17 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
0answers
46 views

Arduino Uno R3 L(yellow) led stays on and error on upload

So I recently got an Arduino Uno R3. Installed the IDE and drivers under Windows 8.1 and everything seemed to work fine and received the 'Done uploading' message when goofing around with the Blink ...
1
vote
1answer
179 views

How shiftOut function works internally? (explanation on source code)

I were examining shiftOut() function code in wiring_shift.c and I didn't quite understand what is going in digitalWrite function. I see !!(val & (1 << i)) is taking the bit value from val ...
1
vote
1answer
99 views

Arduino 1.6.4 not showing any /tty/ options in Serial ports

hej guys, recently I upgraded to Arduino's 1.6.4 IDE just to find out, that I can't seem to upload anything to my board. More specifically: The 1.6.4 IDE is not giving me the option to select the ...
1
vote
1answer
35 views

Using Arduino command line on windows

I have an nmake file; srcpath = ..\pilot cmdline = "C:\Program Files (x86)\Arduino\arduino.exe" cmdflags = --verify --board arduino:avr:uno --port com4 -v --preserve-temp-files prefs = ...
0
votes
2answers
44 views

How to see log from Arduino IDE?

Where can I see outputs from such intruction in an ino file ? Serial.println("my message");
3
votes
1answer
71 views

how can I change the setting for number of upload retries in the IDE?

I run into this problem when I mess something up, and it's pretty annoying to wait for 10 not in sync timeouts before I can try some different method. ... avrdude: stk500_getsync() attempt 9 of 10: ...
0
votes
0answers
62 views

Stuck uploading a program to Arduino BLE nano with Arduino IDE

The first time I upload a program to the BLE nano, the program is uploaded correctly, but the Arduino IDE never stops saying it's uploading something. And when I try uploading a second program I get ...
-2
votes
1answer
130 views

nRF24L01+ Arduino mpu6050 [closed]

kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
6
votes
3answers
424 views

Writing C Program outside of Arduino IDE?

I like the idea of using the Arduino IDE for simple projects and for getting started with Arduino, but the consensus I've gotten so far is that it is for those who are new to Arduino and/or ...
0
votes
2answers
36 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 ...
0
votes
0answers
33 views

Clone pro micro serial port 'COM4' already in use

So I just got this board I ordered from ebay and tried to play with it for the first time. ...
1
vote
1answer
37 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 ...
0
votes
0answers
153 views

Arduino with WS2812 using Adafruit NeoPixel library fade in/out different patterns

Hey all I have been trying to figure out a way to random set patterns for my fade in/ out code below: int PIN = 3; int totalLEDs = 11; int ledFadeTime = 5; Adafruit_NeoPixel strip = ...
0
votes
0answers
14 views

How to use the OV7670 camera with Arduino IDE [duplicate]

I recently got the OV7670 camera and I like to use this with the Arduino IDE, but I dont find any information about how start with this, i found code but for other IDE's, anyone knows hos to start ...
1
vote
3answers
171 views

Difference between print() and println()

What is the difference between print( ) and println( )? I see none when I run a code.
0
votes
3answers
104 views

Arduino uploading to the wrong port

I purchased a half dozen fake Arduinos hoping to build a bunch of projects without paying a fortune. I have all the drivers installed, and the port shows up in the Arduino IDE. The problem is when I ...
0
votes
2answers
52 views

Using Arduino to show images in Serial Monitor

Some time ago I came across a Vedic in which a person has hacked an optical mouse's camera and displayed the image in the Serial Monitors. My question: How to use Serial Monitor to display an image ...
0
votes
0answers
12 views

Having trouble bootloading my Two-Up printer

I am following these instructions to set up my Two-Up 3D printer, and I have no problems all the way up until step 18. The board uses the arduino IDE to burn the bootloader, which is why I am posting ...
0
votes
2answers
174 views

Serial structure data transfer between an Arduino and a Linux PC

I use the Arduino compatible chipKIT WF32 board. I want to transfer structure data between my board and a Linux PC. Can I do it like the following? struct data d; char *tx = (char*)d; ...
0
votes
1answer
110 views

Convert string plus hexadecimals to array of hex:

I have a string which I send to the arduino using serial monitor. Something like that: my specific string 0x0F 0x2C 0x98 0xBC How can I parse this string in the arduino to get an array of hex ...
0
votes
1answer
79 views

How to compile and upload the specific (.cpp + .h) code?

I have a specific arduino code (no .ino files) https://github.com/justintconroy/MdbBillValidator , which can't be opened by arduino IDE. How can I make & upload this code? I have an arduino 2560 ...
2
votes
1answer
112 views

Remove unused boards from Arduino IDE

In the current project I'm programming simultaneously an UNO board and a Leonardo one. Switching back and forth between the two boards in the Tools menu takes too much time because of the other 18 ...
0
votes
0answers
46 views

Pixy Pet Robot stuck on uploading code

when I upload the code to my leonardo board it just stuck on uploading, like this: could someone help me with this?
0
votes
1answer
42 views

Not able to receive the operation results from the slave after the cammand being sent by Master - SPI

Brief - I am using two arduino Uno's. One acts as a master and the other as slave using Arduino IDE. Below is the Master Code: // Taken from Nick Gammon's Forum// #include "SPI.h" ...
0
votes
0answers
58 views

How to run Arduino 1.0.6 on OS X 10.10 with Java 7 or 8 already installed

On a new Mac (running OS X 10.10) with Java 7 or 8 already installed (for other development), how can I run the Arduino 1.0.6 IDE (which seems to be required for the LightBlue Bean BLE Arduino ...
0
votes
1answer
157 views

What are the differences between the 1.0.x and 1.6.x IDEs?

What is a summary the main differences between the Arduino 1.0.x and 1.6.x IDEs? Why do some Arduino products, such as the LightBlue Bean, still require use of the 1.0.6 IDE?
2
votes
1answer
618 views

How do I change the Console colour of Arduino IDE?

Leading on from the question Can I change font Color and/or Type for IDE 1.5.6r2?, in 1.6.0, or 1.6.11 it does not seem to be possible to change console.color or console.error.color. To be precise, ...
1
vote
1answer
116 views

How to add Ultrasonic Sensor to the board?

I am making an RC car , have combined the Arduino UNO R3 with the AR 293d, and pluged in the HC-SR04 sensor to the SRO4 hole at the left top corner in the below graph. However, besides one sensor I ...
0
votes
0answers
24 views

How to use “enum” within Arduino IDE? [duplicate]

When I try to write a enum function it looks like arduino IDE does not recognise it. Any suggestion on how this works?
0
votes
0answers
100 views

Cannot upload sketch to Arduino Micro with Arduino IDE on OSX

I have been programming a Arduino Micro for weeks now, but suddenly it is not able to upload a sketch. I am using OSX Mavericks on a Macbook Pro which has USB 3.0 ports. It has never been a problem ...
1
vote
1answer
238 views

Build arduino with windows command line

Can someone explain, step by step, along with all software I must use for using Windows command prompt to build an Arduino sketch (.ino file )? I've followed these steps but I can't.
0
votes
0answers
334 views

Arduino Upgrading from 1.0.6 to 1.6, code doesn't work anymore

I'm using arduino UNO, and today I upgraded my IDE from 1.0.6 to 1.6, just to upgrade, nothing special. I got my libraries again but I got an error with a code that was working ok, the error was: ...
1
vote
2answers
913 views

Getting “avrdude:stk500_recv(): programmer is not responding” while uploading sketch to Arduino Pro Mini

I recently bought an Arduino Pro Mini(3.3V 328p, 8Mhz) along with a CP2102 USB to TTL UART convertor. When I tries to upload sketch to the Pro Mini using it, I am getting avrdude:stk500_recv(): ...
-1
votes
1answer
126 views

Unable to upload sketch after bootloader has been flashed on Arduino Micro

I have created my own custom Arduino Micro, but i am experiencing problems when i attempt to upload an sketch via USB in Arduino IDE. Here is how i program the Arduino Micro: avrdude -c ...
1
vote
1answer
29 views

Location of examples folder in Ubuntu

I'm trying to add some additional example files to the Arduino IDE in Ubuntu 14.04. However, I can't for the life of me find where the examples are stored in my system. I checked the Arduino website, ...
0
votes
3answers
429 views

Error code 10 for arduino device driver

How can I fix error code 10 while installing the device driver for Arduino in Windows 8.1? The LED on the board is blinking after connecting it to the laptop, so I don't think so that the board is ...
2
votes
1answer
60 views

Unable to alter SPI speed on Arduino Micro

I am using SPI to communicate with a IMU device which is working perfectly, except the SPISpeed which is not being altered as it should: unsigned int m_SPISpeed = 400000; SPI.begin(); ...
0
votes
1answer
182 views

Pulse measurement

I am currently doing the project in pulse measurement using arduino yun. I am using pulse sensor is SEN-11574 . When I verify the code I get this error: Arduino: 1.5.8 (Linux), Board: "Arduino Yún" ...