Quick little 8 bit random number generators
Random number generator for the 16F876 using timer 0
A few of the lowest order bits of an existing A2D value can be used as a random number or at least as a seed for one of the generators above. This works best when a high resolution A2D is being used to measure a high noise signal (where the signal is resolved by averageing)
Also:
See also:
Archive:
Comments:
file: /Techref/microchip/rand.htm, 2KB, , updated: 2019/2/15 18:09, local time: 2024/11/5 05:50,
3.138.116.228:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/microchip/rand.htm"> PIC Random </A> |
Did you find what you needed? |