On Mon, Jul 21, 2014 at 11:28:41PM -0500, Richard R. Pope wrote: > In MpLab with XC8 the timer on and off control is called TMRxON,=20 > where x is the timer number. Nearly. Only for Timer 1 and 2, not for Timer 0. > So for my program to turn timer1 on or off=20 > the instruction is: > TMR1ON =3D 0; //The timer is off > TMR1OFF =3D 1; //The timer is on. > This is in the 16f684 datasheet. I thought I would let everyone know. No, there's no such thing as TMR1OFF. Use TMR1ON instead. Look at the diagram in Figure 6-1 of the PIC16F684 datasheet, and you'll see how TMR1ON is used to "gate" the clock that increments TMR1. So with TMR1ON low (0) no clock gets to the counter. --=20 James Cameron http://quozl.linux.org.au/ --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .