When I bought my Arduino Uno and connected it to my computer, I tried to make the simple blink circuit (before programming the Arduino) and suddenly the LED started blinking. Is the blink example the default Arduino sketch?

I am sure that I didn't uploaded anything to the board.

1 Answer 1


Some may have the "Blink" sketch pre-installed, but many don't. However, when there is no sketch installed the board sits in bootloader mode waiting for you to upload a sketch. While it's in bootloader mode the LED pin pin D13 blinks.

If your LED is blinking about once a second then it's the Blink sketch. If it's rapidly blinking three or four times per second or so then it's in the bootloader and you have no sketch loaded.

  • For me it was blinking 1 time at a second. By the way, what makes the bootloader blink the pin 13 if there is no sketch loaded, is it a normal sketch ?, and why that don't happen when I upload the "BareMinimum" example ?. Nov 29, 2015 at 15:19
  • @AsadMarmash The bootloader is just software. It runs before the sketch runs if there is a sketch installed. If there isn't it just runs and runs and runs. It blinks the LED because it blinks the LED. That is what the programmer that wrote the bootloader decided to program it to do. It doesn't blink with BareMinimum because BareMinimum doesn't blink the LED, and it is a sketch, so the bootloader runs it.
    – Majenko
    Nov 29, 2015 at 15:21
  • See my answer about the bootloader. The bootloader only flashes the LED 3 times. If it keeps flashing then the supplier must have uploaded the Blink sketch as a default.
    – Nick Gammon
    May 28, 2019 at 21:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.