Question.4
What will be printed on the serial monitor after the execution of the following code in Arduino UNO?
Code
void setup(){ noInterrupts(); Serial.begin(9600); } void loop(){ delay(1000); int a = millis(); interrupts(); Serial.println(a); while(1); }
Select Answer
0
1000
999
1001