In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Electronegativity wrote: Ok, I know I'm beating this topic to death, but I have one more thing to say. There is a simple way to avoid having to normalize the data for a process that favors either zero or one. You collect 2 bits in a row. If they are both positive or both negative you throw them out and collect 2 more bits. If the first one is negative and the second positive then the result is zero. If the first one is positive and the second one is negative then the result is one. I think this will yield random bits even for a semi random system that is more likely on the average to be high or low. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=90112#m90934 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)