Doug Hemingway wrote: > If the button is interrupt serviced, then almost any button press will > generate a random number with just a simple counter (not too many > people I know can repeatably stop a counter with a 4 MHz clock). =20 . . Doug, get involved in Casino business to find out what people can do=20 to cheat gaming machines for making a _LOT OF MONEY_ . 8-[ In this case, I think, some RF device will work. =20 Mike =20 > Dave Gomez wrote: >> Hello all, >> Is there a way to a random sequence from either external input, >> or from the programming itself. I=B9m doing led dies, and the method = >> used just flashes through the sequence, until the user stops pushing=20 >> the button. I=B9d rather just have them push it once, no long period to=20 >> hold, to start sequence, and then have it use a random source to=20 >> determine the number instead. =20 =20 -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.