homework4

Post on 12-Aug-2015

20 Views

Category:

Education

3 Downloads

Preview:

Click to see full reader

TRANSCRIPT

How to run your program in Arduino language "c".

(first of all have basic knowledge of programming language c)

first download the software arduino in http://www.arduino.cc/ page can also help you learn more about programming.

after downloading the arduino software open the program.

Then have the program already defined and set variables

which is declared with int at the beginning of the program in void set up .

(review the program that ultimately contains ; All the program to develop .)

After that put void loop structure that generates all program functions depending on what you want to set as On or or off a LED . were used as delay or for comams. Remember everything depends on the program because the fuction will change to learn more about Funtions will check in http://arduino.cc/en/ a guide where we say are the libraries and functions its very useful and easy.

Finally you need to check again the program and clic in the botton run and you will see if the program is well done.

Example of a program

variables

program development

Run the program

top related