Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
21 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
0answers
23 views

what will be the Microcontroller for Data acquisition system with inbuilt ADC of 16 bit resolution and more than 50k sampling frequency [closed]

I am making a data acquisition system then later I need to transmit that data to the server with GSM Module via MQTT protocol. I want to develop the prototype ASAP. below are the requirements:- A ...
-1
votes
0answers
29 views

How can I measure the RSSI value using an Xbee Series 1 attached to an Xbee Shield mounted on an Arduino Uno R3?

This is my first question ever on StackExchange so bear with me if I've done/said anything that is not of this site's "ethics". Moving on to the matter at hand... I'm graduating in 2 weeks with a ...
0
votes
2answers
26 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.
0
votes
1answer
26 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
20 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
1answer
55 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
0answers
59 views

NodeMCU 1.0 (ESP 12 E Module) 2pcs ESP8266 Port Grayed Out

I recently got an ESP8266 NodeMCU board and installed the necessary drivers but the port is still grayed out in the arduino IDE.
1
vote
2answers
205 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 ...
0
votes
1answer
46 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
0answers
45 views

Fab Lab Octopus - Board Type - Arduino IDE

I have a 'Fab Lab Octopus' board an I want to upload a script to it. In the Arduino IDE I couldn't find the "Octopus" under board type (Tools > Board) If I click 'Get Board Information' I get ...
0
votes
1answer
54 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
86 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 ...
2
votes
2answers
2k 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
28 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
266 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
29 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)....
3
votes
2answers
730 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, ...
1
vote
0answers
254 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 ...
0
votes
0answers
803 views

ESP32 ImportError: No module named serial

I am trying to upload this code to my ESP32 via Arduino IDE: https://gist.github.com/zobos/c3ea75bb5343e26f31afc77fcc721e81 (too large for stack exchange) But when I try to upload I get this: ...
1
vote
4answers
94 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 ...
1
vote
1answer
3k 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 ...
0
votes
1answer
463 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
166 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 ...
0
votes
1answer
65 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
3answers
133 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?
-3
votes
1answer
74 views

Writing your own Arduino flashing tool [closed]

I want to make Arduino flashing tool only for a nano, a simple flashing application which could run on windows taking input as a .hex file. I know how to do this in Linux environment using Makefiles ...
3
votes
1answer
60 views

Custom boards list

Is there a simple way to create or modify my boards list? I find having a full library listing confusing. I have about 6 boards I program regularly, but using the listings from the board manager gives ...
0
votes
4answers
1k 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: ...
1
vote
1answer
54 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] ...
3
votes
1answer
452 views

How do I change number and bracket colors in the arduino IDE?

I recently personalized my arduino IDE (changed the background color, input text color, etc....) by going into the theme.txt file and replacing some hexadecimal values. I made the background black and ...
1
vote
1answer
289 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. ...
3
votes
1answer
52 views

What is the correct way to create large project files?

I am currently working on a 10x10 RGB LED screen (using Neopixels from Adafruit) and my project files are starting to get rather large. I have several different devices used in this project: The LED ...
1
vote
2answers
206 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
0answers
150 views

Chromebook/chromebox IDE/compiler option?

My daughter has a chromebox she uses for all her email/homework/etc. We've started to get into making ADABOX projects and I was looking for best options for chromebook users. I saw that codebender ...
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: ...
5
votes
1answer
345 views

Collection of functions for arduino IDE

I am having troubles creating a collection of functions to be used in Arduino sketches and libraries. What I want is not a class, but simply a group of functions which do not require an object to be ...
0
votes
2answers
171 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
4answers
115 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
511 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
votes
1answer
28 views

Previous and updated releases of Arduino IDE are not be able to start on Win 8.1 x64

I have tried to install many versions of IDE, but non of them has started successfully. There is just the logo of the program shows up and then nothing happens. My laptop: Toshiba Satellite C50-A630 ...
1
vote
0answers
155 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
137 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 ...
0
votes
1answer
155 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 ...
2
votes
3answers
27k 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 ...
-3
votes
1answer
104 views

Fading RGB LED between 10 and 60 cm

What I want to achieve is that between 10 and 60 cm of my HCSR04 sensor the color fades from red to blue on my RGB LED in steps of 1 cm between 10 and 60 cm. I have tried creating some own functions ...
1
vote
1answer
84 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 ...
4
votes
1answer
1k views

What's the difference between #define and const int when declaring a pin? [duplicate]

Over the course of my Arduino usage and learning, I've noticed that in some sketches people use the #define command to declare pins, while some others simply use const int for the same. My question ...
0
votes
2answers
7k 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
2answers
193 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 ...