> 3. if you need real randomness (different each time you reset the PIC) > use a user input, for indstance the time a key is pressed modulo 256 us. Timer 0 based random number generators also seem to have this characteristic at least sometimes, although I'm not sure exactly why. My HAL project (http://www.embedinc.com/pic/hal.htm) contains a random number generator to select the sound snippet to play, when to play it, and when and how to shift the "eyes" around. The same unit will do a different sequence every time it is powered up. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics