(This is a follow-up article. Read the first part here.)
Now the bit-level manipulation part of the code:
/*
* randoms_seed.pde
* -----------------
* Generates a random number, then prints it
* through the serial port in decimal and
* binary format. Does not use an initial seed
* so it prints the same set of random numbers
* everytime it is reset.
*
*
* http://spacetinkerer.blogspot.com
*/
long randNumber;
* randoms_seed.pde
* -----------------
* Generates a random number, then prints it
* through the serial port in decimal and
* binary format. Does not use an initial seed
* so it prints the same set of random numbers
* everytime it is reset.
*
*
* http://spacetinkerer.blogspot.com
*/
long randNumber;