Croduino blink code lights wrong LEDs

Customer:

I’m trying to run a blink program on my Croduino:

void setup() {
  pinMode(13, OUTPUT);
}

void loop() {
  digitalWrite(13, HIGH);
  delay(1000);
  digitalWrite(13, LOW);
  delay(1000);
}

After upload it runs once and then stops. The orange LED on the right side doesn’t blink - instead, two LEDs above the blue one on the left side blink.

Original message (Croatian)

// the setup function runs once when you press reset or power the board

void setup() {

// initialize digital pin 13 as an output.

pinMode(13, OUTPUT);

}

// the loop function runs over and over again forever

void loop() {

digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)

delay(1000); // wait for a second

digitalWrite(13, LOW); // turn the LED off by making the voltage LOW

delay(1000); // wait for a second

}

[name removed]

PS

Nakon Upload to se dogodi jednom i stane

Ne blinka naranđasti LED na desnoj strani nego dva LED a iznad plave na lijevoj strani-

Originally submitted via email support on 26 November 2015. Migrated to the forum for community visibility.

Soldered Support:

The code is correct. Try using a smaller value instead of delay(1000) - the number 1000 refers to milliseconds. The red and white LEDs are related to pins 0 and 1, which handle Tx and Rx serial communication and blink during code upload. Try connecting an LED from the set through a 33ohm resistor directly to pin 13, or try with a different pin.

Original message (Croatian)

kod je dobar. Probajte umjesto delay(1000) staviti neki manji (broj 1000 se odnosi na milisek). Crvena i bijela led dioda se odnose na pinove na 0 i 1, odnosno Tx i Rx serijsku komunikaciju te stoga blinkaju kada se kod uploada. Probajte spojiti LED diodu iz seta preko 33ohma otpornika direktno na pin13 ili probati s nekim drugim pinom