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
3answers
73 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
20 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 ...
0
votes
0answers
39 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 ...
2
votes
2answers
79 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
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
0answers
39 views

Code is not running despite no errors in IDE?

I'm working with a membrane keypad to make a password keypad. I have installed the Keypad and Password libraries and pieced together pieces of code with little tweaks. My question is why pressing the "...
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 ...
0
votes
1answer
27 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,...
0
votes
0answers
29 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 ...
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 ...
1
vote
1answer
40 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
21 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
68 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 ...
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 ...
87
votes
20answers
14k 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++...
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 ...
0
votes
2answers
287 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
42 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
87 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
375 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
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). ...
4
votes
3answers
2k 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, ...
2
votes
3answers
33k 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 ...
2
votes
3answers
7k 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
119 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
64 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 ...
11
votes
2answers
6k 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
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 ...
0
votes
0answers
161 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
53 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
343 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
511 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
4k 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 ...
0
votes
1answer
50 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
59 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
239 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 ...
3
votes
2answers
6k views

Is there alternative to arduino IDE program ESP8266 and ESP32 with arduino toolchain? [closed]

I use ESP8266 and ESP32 with arduino toolchain rather than pure arduino hardware. Arduino IDE is standard and proven but what are the other IDE and advantage/disadvantage ?
1
vote
1answer
33 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).
0
votes
0answers
652 views

Using the TimedAction library

I need to make use of the TimedAction library for a project. The Arduino website gave an example of how to use this library which you can see here: #include <TimedAction.h> //this initializes ...
0
votes
0answers
38 views

Can the “Arduino Create” chrome extension be used to program an arduino nano clone?

I was wondering if the Arduino Create app for the chrome browser can be used to program an atmega328 based arduino nano clone.(I need that app so that the arduino can be programmed using a chromebook)....
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
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 ...
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 ...
2
votes
2answers
989 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 ...
1
vote
1answer
340 views

HMC5883L - Tilt compensation without Accelerometer

Trying to get an HMC5883L to compensate for being installed in 90 degrees. Doesn't seem to me that it'll need too complex math or accelerometer. But I have no idea how to do the compensation for it. ...
1
vote
4answers
118 views

Porting code from Arduino IDE to other IDEs - expected code size reduction

Could I realistically be expecting some 25% - 50% code size reduction if I abandoned Arduino IDE's framework and moved to something more rudimentary such as AVR Studio ? I am using the EEPROM, Timer1 ...
0
votes
1answer
601 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 ...
3
votes
2answers
230 views

Visual Studio integration with Arduino

I use Visual Studio 2015 extensively for work, so it would seem like a logical choice for getting started with Arduino programming (though my C/C++ is rusty, that may take some time to get back). From ...
1
vote
0answers
184 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 ...
0
votes
3answers
153 views

Write your own program to control Arduino Uno

Is it possible to write a program to control the Arduino Uno, without using the Arduino IDE?