Loop is broken (led is not blinking for long time it was broken)

Hi everyone

I have an annoying issue that when i just want to simply apply the given blink code, loop generally interrupted by some reasons, after start, led blinks for several time but always stops blinking (L led also turned off and rx tx leds are turn on) and after 5-9 seconds it started again (and stops again) I callot find any references for that issue. Do you know any solution for that problem? Or i'll throw away my card to the trash can

With my best regards

Your post was MOVED to a more suitable location.

Could you also review How to get the best out of this forum as it will help you find your way around.

We need to see your CODE, and what Arduino do you have?

Tell us what all is connected to the mystery Arduino board.

i used "blink" example code that arduino give itself i did not change anything

void setup() {
// initialize digital pin LED_BUILTIN as an output.

// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second

and i did not connect any cable because the code uses arduino's own led

thanks for reply

i did not connect any cable except usb cable because code uses arduino's own led i shared the code below
thanks for reply

OK - I've already asked you to tell us what Arduino board you have, if you are unsure, take a picture and post that.

i have arduino mega


Can you upload the blink code again and post the output from the IDE please, just to confirm it has uploaded.

Which IDE version ?
RV mineirin

my ide version is 1.8.7

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.