Hi guys, a simple quick question, should i load TMR0L or TMR0 when using timer0 in 8 bit mode ?
T0CON=%11000010 ;Timer 0 is on, 8 bit mode, 1/8 prescaler
TMR0=254 ;start timer
Hi guys, a simple quick question, should i load TMR0L or TMR0 when using timer0 in 8 bit mode ?
T0CON=%11000010 ;Timer 0 is on, 8 bit mode, 1/8 prescaler
TMR0=254 ;start timer
Only if you want to start from a specific value. Otherwise, this timer counts as long as there is system clock.
Ioannis
Page 124 of the datasheet shows that TMR0L is used in 8 bit mode.
Bookmarks