On Mon, Aug 30, 1999 at 09:13:34PM +0000, 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! http://quozl.us.netrek.org/ has a random LED flasher on 12C509 that has code you may be able to use. 24 bit psuedo-random number generator. -- James Cameron (quozl@us.netrek.org) Linux, Firewalls, OpenVMS, Software Engineering, CGI, HTTP, X, C, FORTH, COBOL, BASIC, DCL, csh, bash, ksh, sh, Electronics, Microcontrollers, Disability Engineering, Netrek, Bicycles, Pedant, Farming, Home Control, Remote Area Power, Greek Scholar, Tenor Vocalist, Church Sound, Husband. "Specialisation is for insects." -- Robert Heinlein.