Difference between revisions of "Talk:ACKsess"

From Hackerspace ACKspace
Jump to: navigation, search
(PRNG seed info)
m (extra link)
 
Line 1: Line 1:
 +
== PRNG ==
 
Copied from [https://www.arduino.cc/reference/en/language/functions/time/micros/ arduino.cc]:
 
Copied from [https://www.arduino.cc/reference/en/language/functions/time/micros/ arduino.cc]:
 
<pre>
 
<pre>
Line 8: Line 9:
 
this function has a resolution of eight microseconds.
 
this function has a resolution of eight microseconds.
 
</pre>
 
</pre>
 +
 +
also: https://electronics.stackexchange.com/questions/188643/what-is-the-smallest-and-simplest-seed-for-a-random-number-generator#188653

Latest revision as of 10:53, 13 December 2017

PRNG

Copied from arduino.cc:

micros() will overflow after approximately 70 minutes.
On 16 MHz Arduino boards (e.g. Duemilanove and Nano),
this function has a resolution of four microseconds
(i.e. the value returned is always a multiple of four).
On 8 MHz Arduino boards (e.g. the LilyPad),
this function has a resolution of eight microseconds.

also: https://electronics.stackexchange.com/questions/188643/what-is-the-smallest-and-simplest-seed-for-a-random-number-generator#188653