85. Timer Calculations

Question.6

After executing the following code, what will be the frequency of the signal generated on pin 9 of Arduino UNO?

Code:

void setup() {
    pinMode(9, OUTPUT); // OC1A (PB1) is output

    // Configure Timer1 in CTC mode, Prescaler = 64
    TCCR1A = (1 << COM1A0); 
    TCCR1B = (1 << WGM12) | (1 << CS11) | (1 << CS10);  

    OCR1A = 66035;  
}

void loop() {
    // Nothing needed in loop, hardware toggles pin 9 automatically
}

Select Answer