0% found this document useful (0 votes)
20 views1 page

Programming Arduino (1) Pages 37

Uploaded by

axl1994
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views1 page

Programming Arduino (1) Pages 37

Uploaded by

axl1994
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

storage space.


Once uploaded, the board automatically starts running the sketch and you
will see the yellow ‘L’ LED start to blink.
If this did not work, then check your serial and board type settings.
Now let’s modify the sketch to make the LED blink faster. To do this, let’s
alter the two places in the sketch where there is a delay for 1,000 milliseconds so
that the delay is 500 milliseconds. Figure 2-7 shows the modified sketch with the
changes circled.

Figure 2.7 Modifying the Blink sketch .

Click on the Upload button again. Then, once the sketch has uploaded, you
should see your LED start to blink twice as fast as it did before.
Congratulations, you are now ready to start programming your Arduino.
First, though, let’s take a mini-tour of the Arduino application.

The Arduino Application


Sketches in Arduino are like documents in a word processor. You can open them
and copy parts from one to another. So you see options to Open, Save, and Save
As in the File menu. You will not normally use Open because the Arduino

You might also like