Neither on is counting.
On the 635, T1CON bit 6 is 0 in Bruce's code. Bit 6 being 0 just turns on the timer, no gate.
Neither on is counting.
On the 635, T1CON bit 6 is 0 in Bruce's code. Bit 6 being 0 just turns on the timer, no gate.
Dave
Always wear safety glasses while programming.
Thanks for the reply, So as it is in the previous post it seems to work, but I just was looking over the datasheets of both the PIC's this past weekend. I was just curious how it works, I am still struggling to understand the timers. I shall keep reading because it is not clear to me what makes it "tick" to jump out and continue.
Thanks again for the many replies.
'73
Yup, they can be confusing at times. You may have this part figured out but we will start someplace.I shall keep reading because it is not clear to me what makes it "tick" to jump out and continue.
Once the timer is setup it will run in the background as if there is a second chip. This second process can be looked at as an alarm clock. When the alarm goes off, timer overflows, it will interrupt the main process.
At this time we turn the alarm off, disable the timer, and do whatever... get up go about our day....
Then the alarm is set again...
Dave
Always wear safety glasses while programming.
Bookmarks