Programming Arduino (1) Pages 37
Programming Arduino (1) Pages 37
”
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.
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.