Pages: 1 [2]   Go Down
Author Topic: Using analogRead() on floating pin for random number generator seeding/generator  (Read 2577 times)
0 Members and 2 Guests are viewing this topic.
Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes.

It is complete with a customized version of analogRead() as well as a way to construct an 8-bit type from it.

Later in the thread, i also tried a noisy oscillator approach.
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The stock analogRead() is essentially incorrectly coded.
...
The ideal is solid, except it is incorrectly implemented.

In what way? Could you post your corrections please?

Have you posted the corrections to the coding bug list? If not, why not?

http://code.google.com/p/arduino/issues/list
Logged

Pages: 1 [2]   Go Up
Jump to: