85. Timer Calculations

Question.7

What will be the output of the following code after execution?

Code

#include <avr/power.h>

#define LED_PIN 8

void setup() {
  pinMode(LED_PIN, OUTPUT);
  clock_prescale_set(clock_div_16);   // Reduce system clock speed (16 MHz → 1 MHz)
}

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

Select Answer