This guide was first published on Nov 28, 2012. It was last
updated on Nov 28, 2012.
This page (Blinking Faster) was last updated on Apr 22, 2019.
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.