Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Re: Random Number Generator

2011-01-10 by David VanHorn

When I hear the word "Random", I get nervous.

One version of "Random" actually means "Unpredictable".  Thermal
noise, radioactive decay.. Useful for cryptographic one time pads.
The other actually means "Gaussian".  PN sequence, etc.

For a dice app, I'd use a long PN generator clocked on each iteration
through the main loop (or idle) and then grab the output whenever the
dice are "rolled", such that the register is clocked far more
frequently than it is used.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.