Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/05/02 14:01
Read: times


 
#23957 - RE: How to generate Random Numbers with 8051
Keil has a "random number function" in the library, this, of course, will be pseudo random.

Assuming that before start the game does nothing except wait for the sucker to press a key, a true random number could be created by simply incrementing a storage location constantly (would be somethong like 500kHz) while waiting for the key to be pressed.

Erik

List of 7 messages in thread
TopicAuthorDate
How to generate Random Numbers with 8051            01/01/70 00:00      
RE: How to generate Random Numbers with 8051            01/01/70 00:00      
RE: How to generate Random Numbers with 8051            01/01/70 00:00      
RE: How to generate Random Numbers with 8051            01/01/70 00:00      
RE: How to generate Random Numbers with 8051            01/01/70 00:00      
RE: How to generate Random Numbers with 8051            01/01/70 00:00      
RE: How to generate Random Numbers with 8051            01/01/70 00:00      

Back to Subject List