Questions tagged [arduino-ide]

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, macOS and Linux.

This tag is for questions about the official Arduino IDE. This open-source IDE makes it easy to write code/sketches and upload it/them to any Arduino board. The IDE runs on Windows, macOS and Linux.

Virtually all beginner tutorials use the Arduino IDE. You can write the code, select the correct COM port, and then click "upload." Other IDEs may require more configuration and not be as user friendly. It is available as a standalone application or installer on Windows.

Arduino IDE running on Ubuntu Linux.

For more information about Integrated Development Environments in general, see the tag.

1557 questions
20
votes
2 answers

CLion + Arduino

Please, help me to set up Clion + Arduino. Clion has an Arduino plugin which I've installed. Here is some instruction on Github but I'm fully noob about cmake and other things which are talking about in instruction. I have only used Arduino IDE…
Kvach
  • 321
  • 2
  • 3
  • 5
15
votes
2 answers

Why does an `.ino` file have to be in a folder of the same name?

I'm trying to organise a very complicated project and I want to put all the actual code in a folder named src (source), but I want to keep the main .ino file as main.ino (it will also be in src). Then when I try to open the code, the IDE says that…
Dat Ha
  • 2,913
  • 6
  • 23
  • 45
14
votes
2 answers

Split up Arduino code into multiple files using Arduino IDE

I am working on a very long code that requires multiple functions defined. I want to split the code into two files as main code ("Feeder_Control" in the screenshot) and functions ("connections" in the screenshot) How to import the second file into…
10
votes
1 answer

Arduino IDE and subfolders

I have a sketch with multiple source files and folders arranged like so. I've divided up the project like this to keep things clean. | \---project | project.ino | types.h | +---sub1 | gadget1.c | gadget1.h …
user3404036
  • 101
  • 1
  • 3
9
votes
2 answers

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 boards that I do not own anyway. Is there a way to…
Paolo Zanchi
  • 941
  • 7
  • 22
8
votes
5 answers

How to change colors and theme settings in 'Windows Store app' version of Arduino IDE?

In the standard Windows (Win32) version of the Arduino IDE, theme settings like syntax coloring can be modified in C:\Program Files (x86)\Arduino\lib\theme\theme.txt. For the Windows Store app version of the IDE the theme files are stored in…
bluejedi
  • 81
  • 3
8
votes
3 answers

How to see log from Arduino IDE?

Where can I see outputs from such instruction in an ino file ? Serial.println("my message");
user9891
8
votes
4 answers

Difference between print() and println()

What is the difference between print( ) and println( )? I see none when I run a code.
Phyman 100
  • 111
  • 1
  • 1
  • 6
7
votes
1 answer

Arduino IDE Display Code Line Numbers

In the Arduino IDE: How can I get the line numbers shown in a sidebar of the editor? It is hard to find which line my errors are referring to without them... I am using Arduino IDE on a form of Windows.
Dimitrios Desyllas
  • 363
  • 1
  • 2
  • 11
7
votes
1 answer

Can I change font Color and/or Type for IDE 1.5.6r2?

The program becomes harder to read (at least on my particular monitor) after upgrading. Any way to change font Color to darker color and/or Type to thicker stroke (like B in this question editor) for IDE 1.5.6r2?
EEd
  • 904
  • 1
  • 13
  • 21
7
votes
2 answers

How to handle multiple simultaneous Arduino development environments?

I am developing for several different target microcontrollers (on OS X 10.11), which requires some unique combinations of (Arduino) IDE version, library versions, USB drivers, support software, etc. What are the pros and cons of using separate…
pseudon
  • 171
  • 4
6
votes
1 answer

How to turn off the display of line numbers on Mac Arduino IDE?

I'm trying to turn off line numbers on the Mac Arduino IDE but don't see the option for it after navigating to Arduino IDE > Preferences. Below is a screenshot of what I am seeing. I saw this question asked previously, but there is no File >…
ttoshiro
  • 181
  • 1
  • 5
6
votes
3 answers

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, but can't find any information there. Does anyone…
detective6
  • 141
  • 1
  • 1
  • 5
6
votes
3 answers

Arduino and fingerprint scanner - can I get the fingerprint scanner data?

I am currently planning a thesis that involve scanning fingerprints and storing the data in a database. The problem is that I do not know if it is possible for me/us to get the fingerprint data or variables scanned by the fingerprint scanner. I…
FaizTact
  • 81
  • 1
  • 7
6
votes
1 answer

How do I set up a multi-file project in the Arduino IDE?

Suppose I have a project with several modules and a main program. This works well by adding the modules to main_program. module1.cpp module1.h module2.cpp module2.h ... main_program.ino I'm having problems when I have test programs for each of the…
Mark Harrison
  • 559
  • 3
  • 14
  • 23
1
2 3
11 12