Chen Xiao Fan wrote: >Actually this is the first piece of code I checked. Unfortunately >it is too long for me to use. However maybe I can take the >idea of using a table of random number instead of a >generator and generate the random delay time needed. > > Yes, you can almost always substitute memory for speed, so if you have room for a table that would work, then you just step through it. David -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist