4. Arduino GPIO Usage and Applications

Question.2

Jerry wrote the following code and connected the circuit as shown below. What the output will be?

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

void loop() {
  digitalWrite(13, HIGH);
  delay(1000);
  digitalWrite(13, LOW);
  for (int i = 0; i < 3; i++)
    delay(500);
}

Select Answer