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
-2
votes
2 answers

Why should one learn register level programing for embedded systems, when options like Arduino IDE ,etc are available?

I have done projects using Arduino IDE.I have seen that many projects can be easily implemented using the IDE.Then, why should one learn register level programing? How important is it?
Samdish Arora
  • 79
  • 1
  • 8
-2
votes
1 answer

Arduino_Visual_Studio-Windows Form Application

I have an windows form application that was created in visual studio 2013. how can i run the .exe file on my arduino or on raspberry PI?? Has anyone tried this? Any information will be helpful
-3
votes
1 answer

how to solve else/if statement issue?

#include #include "DFRobot_LCD.h" DFRobot_LCD lcd(16, 2); //16 characters and 2 lines of show #define PH_PIN 25 float voltage,phvalue,temperature = 25; float acidVoltage = (1990); //buffer solution at 4.o float neutralVoltage =…
-3
votes
1 answer

How can I print the status of an I/O port in Arduino?

I want to see the status of the port, but the following code gives me an error. int PIN25_state = digitalRead(25); // Read PIN25 Serial.println("PIN25_state: ", PIN25_state); The error I get is no matching function for call to 'println(const char…
Sami
  • 45
  • 7
-3
votes
1 answer

How to solve low memory available in Arduino

I'm using this code: #include #include #include #include #include "RTClib.h" #define buzzer 2 //initialisation class HCSR04 (trig pin , echo pin) HCSR04 hcAir(13, 12); HCSR04 hcPakan(11,…
-3
votes
1 answer

sendPronto data type?

I can't seem to figure out what the data type for sendPronto is. It's a function in the IRremote library and I basically have hundreds of Pronto Hex values that I want to shuv into a array called Dataset. If you don't do a integer it would look like…
Macaroni
  • 1
  • 1
-3
votes
1 answer

Push button stop counting after pushing for a long period of time

I have a project using arduino and its basic idea is to have one counter incremented by one single push button. What I'm looking for is that once the push button is triggered for a long period of time not to make the counter1 for example incremented…
-3
votes
1 answer

ISO C++ forbids comparison between pointer and integer [-fpermissive] error in Arduino c serial communication

I'm coding my BB-8 project and I'm using bluetooth with my Arduino so I'm using: if (Serial.available() > 0) { state = Serial.read(); Most people send numbers through like this which works: if (state == '1') { But I would like to send a string…
techset
  • 7
  • 8
-3
votes
1 answer

What is the output of this arduino code?

My Arduino code is: String myString; void setup() { // initialize serial and wait for port to open: Serial.begin(9600); while (!Serial) { ; // wait for serial port to connect. Needed for Leonardo only } myString.reserve(26); …
-3
votes
1 answer

arduino IDE code for 2 DC car with L298 and ultrasonic and bluetooth control with android

I want to make my car to move with the android and if distance 20cm to rotate. This is my code I've written: #include "SoftwareSerial.h" #include "Ultrasonic.h" int distance = 0; int UltrasonicData; Ultrasonic ultrasonic (12,13); const int…
user4855606
-3
votes
3 answers

Converting int to binary in C / Arduino

I'm having a really hard time trying to convert an INT to an 8 bit Binary number. There's plenty of code on how to do this online however most of them need libraries in order to work, and Arduino doesn't support libraries from C as it has its…
MikeSmithMusic
  • 49
  • 1
  • 2
  • 8
-4
votes
1 answer

Arduino IDE not finding my library directory - Windows10

Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: "Arduino Uno" avr-g++: error: Laptop\Documents\Arduino\libraries\LedControl-master\src": No such file or directory avr-g++: error: C:\Users\James: No such file or directory avr-g++:…
-4
votes
1 answer

Can't upload program to ESP8266

I have issues loading WifiWebServer example code onto ESP8266. I am currently connecting it to an Arduino Mega 2560. I tested this code months ago and had no issues, but recently when I tried to run the code again to work on a project it doesn't…
-4
votes
1 answer

Arduino error: expected unqualified-id before 'else'

The Arduino console gives me: expected unqualified-id before 'else' What's wrong with my code? Here's the code http://pastebin.com/esU80naM If you can, also give me repaired code on pastebin Thanks! Problem is with line 164 in pastebin else if…
1 2 3
84
85