how to program arduino.
Answers
Answered by
0
what are you asking I cannot understand the question.
Answered by
0
Answer:
Firstly 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.
Similar questions
Social Sciences,
8 months ago
CBSE BOARD X,
8 months ago
Computer Science,
8 months ago
Physics,
1 year ago
Math,
1 year ago
Math,
1 year ago