TMR1 prescaler e pic 16f88

Sep 01, 2006 0 Replies

ciao. Sto facendo una simulazione con un clock interno da 8Mhz.



impostando OPTION_REG =3D OPTION_REG Or 7 (prescaler tmr0 1:256) T1CON.TMR1CS =3D 0 'internal clock FOsc/4



il tmr1 viene sempre incrementato ogni istruzione.



C'=E8 modo di usarlo come il tmr0, con un suo prescaler ?



nel datasheet poi si dice: The prescaler counter is cleared on writes to the TMR1H or TMR1L registers.



grazie



Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required