Pages: 1 [2]   Go Down
Author Topic: Using analogRead() on floating pin for random number generator seeding/generator  (Read 3029 times)
0 Members and 1 Guest 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
Melbourne, Australia
Online Online
Brattain Member
*****
Karma: 511
Posts: 19358
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

http://www.gammon.com.au/electronics

Please post technical questions on the forum - not to me by personal message. Thanks a lot.

Pages: 1 [2]   Go Up
Jump to: