On Tue, May 06, 2003 at 09:23:47PM -0400, John Nall wrote: > Since he is used to machines that have operating systems, with system > clocks and that sort of thing available to users, he might be able to do it > on those. But I do not think there is any way whatsoever on a PIC to do > this. (No peripherals -- just the raw chip running, with his program). PICs have several builtin timers that are fairly well characterized which you could use to estimate your clock speed. In no particular order: The WDT The internal A/D conversion timer The time it takes to write to EEPROM memory -- Ben Jackson http://www.ben.com/ -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu