CODES

Here is the guide to some of the basic codes in arduino and there related software output.
1. LED-BLINK:
You can easily find led blinking code in arduino1.0 in
FILE > EXAMPLES > BASICS > BLINK
The code is shown as follows:

The code shows two parts in the program ; void setup( ) and void loop ( ).The void setup( ) is used to initialize Input/Output pins of Arduino board for which we use pinMode where as the void loop( ) is used to enter the main program where we use digitalWrite and delay. You can compile the program to see errors while choosing your own pins and adjusting the delays.



No comments:

Post a Comment

Arduino hardware and software provide a easier way for the students to learn and work on different projects and designing.The Arduino progr...