On Tuesday 06 May 2003 06:23 pm, John Nall wrote: > A friend of mine, who is a very experienced programmer, but knows > nothing about PIC's (at least I don't think he does) has offered to > make a bet with me as follows: He is willing to bet, any amount I > want to name, that he can write a program which can figure out the > clock speed of the computer it is running on. [snip] > However, he is very experienced, and I have lost bets with him > before. So even thought it seems to me to be a sure thing, I am a > bit hesitant to bet. Can any of you experts think of a way to do > this???? Yes. The EEPROM write is fairly predictable on a given kind of PIC. You can use a timer to time it. -- Ned Konz http://bike-nomad.com GPG key ID: BEEA7EFE -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu