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
LED will ON for 1 Second and Turn OFF for 1.5 Sec. in a loop
LED will ON for 1 Second and Turn OFF for 2 Sec. in a loop
LED will be OFF for 1 Second and Turn ON for 1.5 Sec. in a loop
LED will ON for 2 Seconds and Turn ON for 1 Sec. in a loop