I have found this little bit of code from the forum and am trying to do something similar to this with the TMR0 module on a 12F675. I was just wondering how tey came up with the 16.384ms for the time between interrupts.
I would like to know the equation so i can make it work for my timer application. Any help would be much appreciated.
' Set TMR0 to interrupt every 16.384 milliseconds
OPTION_REG = $55 ' Set TMR0 configuration and enable PORTB pullups
INTCON = $a0 ' Enable TMR0 interrupts
On Interrupt Goto tickint