I need a help for Arduino programming. please help!!
Answers
Answer:
The Arduino Software (IDE) allows you to write programs and upload them to your board. In the Arduino Software page you will find two options:
1. If you have a reliable Internet connection, you should use the online IDE (Arduino Web Editor). It will allow you to save your sketches in the cloud, having them available from any device and backed up. You will always have the most up-to-date version of the IDE without the need to install updates or community generated libraries.
2. If you would rather work offline, you should use the latest version of the desktop IDE.
Explanation:
please mark this answer as brilliant
Answer:
First of all you should download ArduinoDroid
It is the IDE (Integrated and Development Environment) for Arduino Programming. Arduino Programming is totally based on C / C++ Programming language.
In Arduino Programming, there are two parts are as follows as:
void setup(): put your setup code here, to run once.
void loop(): put your main code here, to run repeatedly.
Example:
Blinking of LEDs
void setup()
{
pinMode(8, OUTPUT);
}
void loop()
{
digitalWrite(8, HIGH);
delay(1000);
digitalWrite (8, LOW);
delay(1000);
}
Note : Here, 1000 is the time duration in milliseconds.
I think you will understand the basic of Arduino Programming now.