On Fr, 23.07.99, Mark wrote Ê > Is it possible to use one of the timers just as a plain old timer/clock without using another crystal hooked-up to the T1OSO/T1OSI pins?Ê > Is there any way to use a timer like this with just software control? Ê If you set TMR1CS in T1CON to zero, Timer 1 runs on the internal clock (Fosc/4). Ê Jens Message-ID: <000d01bed4bb$dddeeda0$40c6480c@default> From: "Mark A. Samuels" Reply-To: "Mark A. Samuels" To: PICLIST@MITVMA.MIT.EDU Subject: newbie timer question Date: Fri, 23 Jul 1999 05:30:54 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain Hi all! Ê I have what may be a dumb question about the timers on the 16F877: Ê Is it possible to use one of the timers just as a plain old timer/clock without using another crystal hooked-up to the T1OSO/T1OSI pins?Ê Is there any way to use a timer like this with just software control? Ê I'm doing this for a tach-type counter, with the pulses being input directly on T0CKI to be counted with timer0, and I was trying to figure out how to use one of the other timers to count a specified amount of time, then generate an interrupt, then I would have a certain amount of pulses in a specified time.Ê I would like to do this using an interrupt for the period instead of a delay or a loop so that it would be entirely in the background. Ê Any help and code samples would be GREATLY appreciated! Ê Thanks!Ê -Mark