How accurate does it need to be - I'm thinking that the wdt ( or an external RC network) could be used ? Richard P John Nall cc: Sent by: pic Subject: [PIC]: Can it be done??? microcontrolle r discussion list 07/05/03 13:23 Please respond to pic microcontrolle r discussion list 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. To rephrase it, he thinks that he can figure out, in software, the number of MIPS of the machine he is running on. 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). 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???? John -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu