People who code: we want your input. Take the Survey

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
2answers
270 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
56 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
68 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
416 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
2answers
49 views

Serial monitor window opens frozen

My serial monitor window opens frozen, without any output or possibility to input, or even activate the window. Sketch is very simple, but behavior is same even with empty sketch, so I assume problem ...
1
vote
1answer
175 views

How do I resolve error message “assignment of function 'void digitalWrite (uint8_t, uint_8)”?

I am a beginner in using Arduino and programming in c/c++. I am trying to connect a 10-segment LED and a moisture sensor to my Arduino Uno, and when the moisture level is very low, the first 2 red ...
1
vote
2answers
1k 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
vote
1answer
185 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
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
vote
1answer
183 views

Arduino CH340 Driver Problem

I'm trying to connect my Arduino Uno to the Arduino IDE in Windows, but the only way it works is with a CH340 driver. I am concerned about this as I can only find a download of it published by two ...
1
vote
1answer
266 views

Where is the Arduino IDE log file located? Not the Serial Monitor

"An error ocurred while uploading the sketch" I'm having this specific error when uploading a sketch to my board and the IDE doesn't specify the problem correctly. It's version is 1.8.13 for ...
1
vote
1answer
50 views

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-...
1
vote
1answer
2k 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
1answer
46 views

Arduino Comms disrupted, prevents program loading (catch 22)

I have written some software which, when loaded onto an Arduino Micro, blocks communications for some reason. Lets stipulate that there is something wrong with it. Using the Ardiono IDE on Windows 10,...
1
vote
1answer
147 views

Where does arduino IDE store the latest board selection?

I'm building a tool to help me automate my uploading process. How do I know where Arduino stores the current preferences - which board, which com port, what serial speed? If devs are familiar with ...
1
vote
2answers
1k 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
460 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
1k 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
2answers
933 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 ...
1
vote
0answers
131 views

Displaying Keypad Input on TFT Display

For a project of mine I have always wanted to build an electronic load and I am mostly done. However I have found myself stuck at one part that I thought would be simple but has thus only caused ...
1
vote
0answers
27 views

Arduino not starting after 1.8.10 update

First off sorry if this is the wrong place. Yesterday I updated the Arduino IDE to 1.8.10 and I was able to program a couple of hours. Powering up my laptop today though the IDE is active, I can't ...
1
vote
0answers
56 views

Arduino IDE: sketch window has become unresponsive

I am very new to all this, but have programmed in other languages using several IDEs. Last night when returning to a coding session, I noticed that the background of the sketch window had gone from ...
1
vote
0answers
394 views

OTA mDNS issues with ESP8266 and PlatformIO?

The common useage of the OTA library for this MCU is to have it connect to a network, and to then use a computer on that network to upload firmware across that network. Due to either issues with ...
1
vote
0answers
419 views

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 ...
1
vote
0answers
264 views

Gui Scale on Linux HD display

I use Fedora 24/25 and now Ubuntu 17.04 Gnome 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 ...
1
vote
1answer
341 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 ...
1
vote
1answer
99 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 ...
1
vote
1answer
313 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
4answers
13k 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
1answer
91 views

Certain String Characters To Int

I have a char* array which looks like this "T 20" and I'd like to extract the "20" and convert it in to an integer. I was thinking of using atoi() but it seems that function will operate on the entire ...
0
votes
2answers
301 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
2answers
191 views

Arduino IDE Serial Monitor - how to send NUMBERs - not charcters of numbers

Serial link send and recieves Bytes. Serial monitor at Arduino IDE reads it's input as character. So if I type '0' in serial monitor, then FW will read byte 48 - I don't want to implement some silly ...
0
votes
1answer
563 views

Managing configurations via EEPROM by writing it with the hex file

I've been looking into I2C bootloaders for an ATTINY coprocessor on a board I'm developing, and I ran into a bit of a snag. I have the need to detect what board the main processor's code is running on,...
0
votes
2answers
545 views

Complex Arduino programs

Im working on a RGB LED matrix project (10 x 10 Neopixels) and I'm using classes to handle the different hardware components. Whats the best way to deal with multiple files in the project eg, I have a ...
0
votes
1answer
9k 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
1answer
573 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 ...
0
votes
1answer
71 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 > ...
0
votes
2answers
277 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 ...
0
votes
1answer
147 views

No Websockets Server for Arduino mkr1010?

I've seen some interesting explanations on using websocket comms on mkr 1010 but it's always handling the mkr 1010 as the client and the server being always a computer or some other "non-arduino" ...
0
votes
2answers
139 views

Latest news about alternative Arduino IDEs

I simply hate the default Arduino "IDE". On Windows I use Visual Studio Code with the related plugin. Now I have a Ubuntu machine and I'm looking for the definitive IDE. Questions: I'm not sure ...
0
votes
1answer
123 views

request for a member “X” in something not a structure or a union

i was programming a Self Balancing Robot, I am writing the code in vscode using platformio extension. when i put the code i need to get the angle out of the gyro in another file (named angle.c) ...
0
votes
1answer
63 views

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

Arduino IDE giving a blow to battery back-up of PC [closed]

When I have serial plotter open in the Arduino IDE with serial communication going on, the fans of my PC go full speed. On checking I found that Java(TM) Platform SE binary(32 bit) is using about 29% ...
0
votes
1answer
74 views

General confusion about how to start

I want to test around with my ESP32 and an E-Paper display - yet i am stuck at uploading sketches via Arduino IDE. I get those kind of errors: avrdude: stk500_getsync() attempt 1 of 10: not in sync: ...
0
votes
1answer
363 views

NodeMCU successfully uploaded sketch but it does not work from Arduino IDE

NodeMCU successfully compiled and uploaded a simple blink sketch on board, no errors at all, but the LED stays on constantly and does not blink. Also I have checked the power is enough. I have checked ...
0
votes
1answer
764 views

Linux SSH command for Arduino Console

I have a Leonardo with a Yun shield, and I would like to be able to control the arduino with a windows form app, but thats besides the point for now at least. Currently, I am using putty and the ...
0
votes
4answers
2k views

If Else Alternative [closed]

I've written a function that heavily relies on the If / Else statement but I feel it's a very beginner way to achieve functionality. Are there any better ways to achieve the same functionality? Code: ...
0
votes
4answers
136 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
240 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 ...