On Thu, 12 Mar 1998 00:29:28 -0800 Rod Haller writes: >Hello all, >I'am new to PIC's and I've read the data sheet for the 16c84. And I >can't figure out how to use the counter,it says to set the tocs bit!! >But it doesn't tell how to set it, I'am sure it very simple if you >know >what your doing. Also how do set it to inncrement on the leading edge? These bits are in the OPTION register. The T0CS bit selects whether the internal clock or the external pin will be used to drive the counter. Also there's a bit that selects whether rising or falling edges will be used in external (Counter) mode. _____________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com Or call Juno at (800) 654-JUNO [654-5866]