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
0
votes
1answer
31 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 ...
0
votes
1answer
38 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,...
87
votes
22answers
16k 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++...
1
vote
1answer
2k views

Are there any alternatives to Tinkercad Circuits that is PC application based instead of web app based?

I have been using Tinkercad's Circuits web application to create my Arduino circuits and apply my Arduino code (c++) for testing. Despite the amazing product they have and the fact it's free, I find ...
0
votes
2answers
76 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
0answers
40 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 ...
7
votes
4answers
5k 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
1answer
296 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
40 views

I am facing a problem of firing multiple interrupts on nodemcu 1.0 on single rising edge pulse.what is problem and what are the solutions?

I am working on a project which involves counting the drops falling in a drip chamber of a IV fluid gravity based therapy bottle(saline bottle).I am using IR trans-receiver at the drip chamber to ...
0
votes
1answer
36 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-...
0
votes
1answer
42 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
1answer
8k 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/...
0
votes
1answer
140 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
0answers
60 views

CLion with Arduino Support doesn't find some libraries

I'd like to develop my Arduino projects in CLion, which I'm fairly familiar with (professional Java developer using IntelliJ, so the JetBrains way of things is easy for me). All seems to work fine, ...
-1
votes
1answer
2k 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: ...
0
votes
1answer
51 views

IDE finds multiple libraries

I don't understand Arudino IDE. Ever. This is a part of the compilation output: Alternatives for ArduinoJson.h: [ArduinoJson@6.14.0] ResolveLibrary(ArduinoJson.h) -> candidates: [ArduinoJson@6....
0
votes
2answers
82 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 ...
4
votes
3answers
10k 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, ...
11
votes
1answer
5k 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 ...
0
votes
0answers
24 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
1answer
175 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
0answers
728 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 ...
10
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 ...
1
vote
1answer
167 views

Alternative IDE for compiling and running arduino code?

I am not super experienced with c++ and I know that the syntax for C++ and the code written/compiled by the arduino IDE are slightly different. I would like to be able to write code, compile it the ...
2
votes
1answer
203 views

How does the build process in Arduino IDE work for ESP8266

How does the build process for esp8266 work in arduino IDE. Arduino ide uses avr-gcc to compile programs For atmel micro controllers. Does it uses same for compiling programs for esp8266?
1
vote
4answers
300 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(...
0
votes
0answers
22 views

How can I inline parameters during build time from an external file? [duplicate]

I have a small sketch that I'd like to redistribute. It contains a password that I don't want to pass on. Is there a way to have for example an external properties file or an env param that will allow ...
2
votes
2answers
841 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 ...
0
votes
0answers
36 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
1answer
51 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 ...
0
votes
1answer
38 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) ...
1
vote
1answer
1k 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 ...
8
votes
4answers
55k 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 ...
10
votes
4answers
9k 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 ...
0
votes
2answers
364 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
56 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 ...
1
vote
1answer
111 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 ...
0
votes
1answer
1k views

Arduino Nano 3.0 CH340G clone cannot upload sketch from Arduino IDE [duplicate]

I connected my brand new Arduino Nano 3.0 clone with CH340G and installed the drivers. It detects in Device Manager as USB-SERIAL CH340 (COM6). Under the Tools menu, i selected the correct board, the ...
0
votes
3answers
11k 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). ...
4
votes
3answers
3k 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, ...
3
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 ...
1
vote
0answers
269 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 ...
0
votes
0answers
81 views

Arduino libraries development and Eclipse Soleber

I have a project on Arduino IDE. A .ino sketch with some extra .h/.cpp files and 2-3 libraries that I keep in ~/Arduino/libraries. In addition to the IDE I do open the libraries as generic project in ...
22
votes
2answers
11k 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 ...
1
vote
2answers
157 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 ...
0
votes
0answers
319 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 ...
0
votes
2answers
72 views

how to compile arduino sketch from termnial without using arduino ide

I want to know how can I compile and upload the arduino sketch from my terminal instead of using Arduino IDE. I want to use a different IDE for writing code.
1
vote
0answers
392 views

Using Visual Studio Code with Arduino

I'm trying to figure out how you can work with multiple sketches using Visual Studio Code and the Arduino. Let's say I have three projects that I want to actively develop. Motors.ino ...
1
vote
2answers
945 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 ...
4
votes
2answers
5k 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 ...