Science, asked by undefeatable, 1 year ago

how to program arduino.

Answers

Answered by superman7
0
what are you asking I cannot understand the question.
Answered by Anshu33845
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