Skyknight
New Member
Hello all! I need your neurons :twisted:
I'm working with a PIC16F629, writing a program in its assembly:
**broken link removed**
I want to make a passive wait of one second (what I want to say with passive is that I want the timer interrupts me when finish counting that single second, I don't want to be checking once and again till the second is past, ok?). So, here is what I've got:
Internal RC clock of 4MHz
TMR0 [8 bits, prescaled 1:256]
TMR1 [16 bits, prescaled 1:8]
I don't need an exact second (I mean, 1.1 second is ok too)
Now, pleeease. Be kind and suggest me some ideas about how to do it. I thought about chaining both timers. The key is I've never worked with any 16 bit timer and I'm quite confused about how to make it work together the other timer. :?
Thanks in advance!
I'm working with a PIC16F629, writing a program in its assembly:
**broken link removed**
I want to make a passive wait of one second (what I want to say with passive is that I want the timer interrupts me when finish counting that single second, I don't want to be checking once and again till the second is past, ok?). So, here is what I've got:
Internal RC clock of 4MHz
TMR0 [8 bits, prescaled 1:256]
TMR1 [16 bits, prescaled 1:8]
I don't need an exact second (I mean, 1.1 second is ok too)
Now, pleeease. Be kind and suggest me some ideas about how to do it. I thought about chaining both timers. The key is I've never worked with any 16 bit timer and I'm quite confused about how to make it work together the other timer. :?
Thanks in advance!