Hello, exactly yesterday I have finished my hardware true (not pseudo) random number generator. It outputs a random bit sequence in CMOS logic. If interested, I can post the schematic (in ASCII, one page). I guess, you should connect the output to the T0CKI, and sample it - say - in every 1 msec. Regards, Imre On Mon, 30 Aug 1999, German wrote: > Hi! I need to generate three bytes of pseudo-random numbers for > an app. I'm working on that features PIC12C508 and 509. > Then I need to count the number of ones present on those 24 bits. > Any cool ideas on solving any of these tasks are welcome! > > Thanks a lot! > ------------------------------------ > netQ > http://virtuaweb.com/picprog > "Home of amateur PIC programmers..." > > -----BEGIN PGP PUBLIC KEY BLOCK----- > Version: 2.6.2 > > mQCNAzV38BkAAAEEALfWv9j3f+tZ+z2IW+2o9Ebx4bUGnHjHPqIe0a6yVKawaeV/ > Y4I6L2/A0ddbVMG8+qJ0MvHNkr3DzYkpW+hTl9zAzXkKBdZ3GA5bbvot7entl/O2 > YDtRWUV730koxBo5iFFUbJH5kbmkox+h3znj34zPnZNWzNaqOAwol3wABfBNAAUT > tBxOZXRRIDxuZXRxdWFrZUBpbm5vY2VudC5jb20+ > =0bVU > -----END PGP PUBLIC KEY BLOCK----- > >