Sometimes you will encounter an errors wile your in the Arduino IDE, some error sometimes it very difficult to fix like java applet errors some error are easy to fix. below are the list of error while your doing you sketch project in Arduino IDE. However as a beginners you will facing some compilation or upload errors. below illustration we will going to summarize some common errors and solutions.
‘cout’was not declared in this scope
demo.ino: In function ‘ void loop()’;
demo.124: error: ‘cout’ was not declared in this scope
demo.124: error: ‘end’ was not declared in this scope
On this error showing on your status window perhaps you didn’t properly place the right code library to the Arduino IDE library. if you assure that you configure properly and you properly imported the code library then just try closing the Arduino IDE, and re-launch it again.
[Serial port ‘COM47’ already in use. Try quitting any programs that may be using it.]
at
processing. app. Editor$DefaultExplortHandler.run(Editor.java:2380)
at java.lang.Thread.run(Thread.java:619)
This error will pop out when you didn’t plug you USB cable, damage USB Cable or USB cable loss connection, try to check the USB cable and check if it is properly connected.
[ Done Uploading ]
Binary sketch size: 8,538 bytes (of a 32,256 byte maximum)
avrdud: stk500_getsync(): not in sync: resp=0x00
This error will pop out when your choosing a wrong Arduino Board at the Arduino IDE Board, you need to check the proper board the you used and appropriate board in the menu items. then upload it again.