Questions tagged [arduino-ide]

Arduino is an open source IDE running on Windows, Mac OSX and Linux.

The open-source Arduino environment makes it easy to write code and upload it to the i/o board. It runs on Windows, Mac OS X, and Linux. The environment is written in Java and based on Processing, avr-gcc, and other open source software.

It comes already with many examples with a wide variety of possibilities. It's currently the simplest way to work with any Arduino board and it's code.

You can import many third party libraries to work together with the basics. Some recent versions include a Library search tool that helps finding many of them.


External links

1276 questions
79
votes
9 answers

How do I remove a library from the arduino environment?

In the Arduino GUI on windows, if I click on Sketch --> Import Library, at the bottom of the menu there is a section called "Contributed". Unfortunately, I had misclicked and added a library I did not want to that list. How can I remove it from that…
merlin2011
  • 71,677
  • 44
  • 195
  • 329
57
votes
18 answers

Arduino Tools > Serial Port greyed out

I am running Debian 7 (Linux Crunchbang) and wanted to use The Arduino IDE to program my Arduino UNO. To do that I installed the package arduino. When I started the Arduino I was asked to add my user to the dialout group. So I did with sudo usermod…
Moonlit
  • 5,171
  • 14
  • 57
  • 95
30
votes
4 answers

Arduino IDE can't find ESP8266WiFi.h file

I am trying to use NOD MCU ESP8266WiFi with Arduino IDE When I run this code: #include #include char auth[] = "YourAuthToken"; char ssid[] = "YourNetworkName"; char pass[] = "YourPassword"; void setup(){ …
Abuwesam
  • 417
  • 1
  • 4
  • 5
28
votes
2 answers

What is the secret of the arduino `yield()`function?

The Arduino docs explain yield() at https://www.arduino.cc/en/Reference/Scheduler with regards to the Due. Apparently it is part of the Scheduler library: #include However, I can call yield() on my Nano or ESP8266 without including…
andig
  • 13,378
  • 13
  • 61
  • 98
24
votes
5 answers

Arduino IDE (Win10) crashes when I launch the program

My Arduino IDE (ver 1.8.12 on Win10) crashes when I launch it. Running the arduino_debug.exe I get this error message. C:\Program Files (x86)\Arduino>arduino_debug.exe Set log4j store directory C:\Users\volke\AppData\Local\Arduino15 Loading…
Volker Petersen
  • 283
  • 2
  • 8
20
votes
3 answers

Preventing reset on serial monitor connect?

Is there a way of preventing the reset when starting the serial monitor in the Arduino IDE?
powtac
  • 40,542
  • 28
  • 115
  • 170
18
votes
5 answers

how to print text and variable's values in the same line with Serial.println in Arduino

I've this code: Serial.print("x:"); Serial.print(x); Serial.print(" y: "); Serial.println(y); and works fine. There's an example of the output: x:41 y: 31 but I wonder if there's a way to write the four sentences in one with something…
Salvador Rueda
  • 855
  • 2
  • 7
  • 15
18
votes
1 answer

correct way to include .cpp and .h files in an Arduino sketch

First, the problem: main sketch file: char foo; // required to clean up some other problems #include // tried it in desperation, no help #include "a.h" void setup(){ Serial.begin(9600); Serial.println("\nTest begins"); …
Madivad
  • 2,999
  • 7
  • 33
  • 60
16
votes
11 answers

Arduino IDE is not showing any port macOS

My Arduino Uno is plugged in with mac USB port. But Arduino IDE is not showing any port. (macOS- Catalina)
Rasheeq Ishmam
  • 307
  • 1
  • 4
  • 10
9
votes
5 answers

Arduino 1.0.6: How to change compiler flag?

I'm currently working on a project using Arduino 1.0.6 IDE and it does not seem to accept C++11 std::array. Is it possible to change the compiler flag to make this work?
8
votes
2 answers

Location of boards.txt for an Arduino DUE (SAM board)

I use the 1.6.7 Arduino IDE and I’ve installed the "Arduino SAM Boards (32-bits ARM Cortex-M3)" item for my DUE board, and it works fine. However, I would like to tune some build parameters in my boards.txt file. Problem: I do not have a…
Eric Leibenguth
  • 4,167
  • 3
  • 24
  • 51
7
votes
4 answers

How do I add cpp file to an arduino project?

I am trying to add a cpp file to arduino project that has the following setup... project --folder --foo.h --foo.cpp --project.ino I have a #include "folder/foo.h at the top of project.ino. However while the header provides the prototype of the…
Anton
  • 340
  • 1
  • 5
  • 15
7
votes
5 answers

How to disable 'interrupt watchdog' in ESP32 OR increase ISR time limit?

I am using ESP32 DEVKIT link and Adafruit VS1053 Codec + MicroSD Breakout - MP3/WAV/MIDI/OGG Play + Record - v4 link to record and then play the sound. I am using Arduino IDE for coding. I am facing an issue right now that the module uses hardware…
user263210
  • 417
  • 1
  • 5
  • 16
7
votes
1 answer

How to reset esp8266 NodeMCU?

I'm new at NodeMCU. My NodeMCU version is LOLin 0.1 First code I have uploaded is Spacehuhn's Deauther. I set up my AP for deauther settings and everything worked fine. Few days later I wrote a new code (related with WIFI) and it didn't work. …
Nopparuj
  • 71
  • 1
  • 1
  • 3
7
votes
2 answers

Arduino IDE not recognizing that .c file is .cpp

I am making a library for a specific board for the Arduino IDE. The library works great and now I'm taking a step back to add OO. The Library is a mix of .c and .cpp files. I know in order to add classes I need only use .cpp. This is the LED.h…
Sara Chipps
  • 9,322
  • 11
  • 58
  • 103
1
2 3
84 85