On Sep 24, 2006, at 1:55 AM, Peter Bindels wrote: >> http://www.piclist.com/techref/microchip/rand8bit.htm > > Choose the LFSR or Galois LFSR types. They at least have a > mathematical basis, even though they need not be actually random > they're better than rotating a register. > Look carefully, and I think you'll figure out that the functions on the page referenced ARE implementations of Galois LFSRs. Particularly clever implementations thereof that don't look like they contain nearly enough instructions do so ... :-) BillW -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist