Using Timer1 and GPIO #9 on UNO

Hi all,

Just a quick question. I need to use the Timer1 interruption in my project. But, in the #9 and #10 pin on my UNO, I'm using them as digital outputs to drive some transistors bases. I'm not using the AnalogWrite function or PWM.

Can I use the Timer1 interruption with pins #9 and #10 as a digital outputs, or I need to free them? Just the PWM function will be affected?

Thank you.

Please explain what you mean by "Timer1 interruption".

PWM output on pins 9 and 10 is optional. The ATmega328 data sheet explains the Timer1 control register settings in great detail, and to program the timer properly, you must read and understand that section.