You are now going to make your LED blink faster.As you might have guessed, the key to this lies in changing the parameter in () for the 'delay' command.
This delay period is in milliseconds, and so if you want the LED to blink twice as fast, change the value of 1000 to 500. This would then pause for half a second each delay rather than a whole second.
Upload the sketch again and you should see the LED start to flash more quickly.
Upload the sketch again and you should see the LED start to flash more quickly.
Text editor powered by tinymce.